Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: change DingDong Restart into button #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions dingdong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ globals:
type: bool
restore_value: true
initial_value: 'true'

button:
- platform: restart
name: "Doorbell Restart"

switch:
- platform: gpio
Expand All @@ -84,8 +88,6 @@ switch:
id: relay
internal: true
icon: mdi:alarm-bell
- platform: restart
name: "DingDong Restart"
- platform: template
name: DingDong Chime Active
id: chime_active
Expand Down
6 changes: 4 additions & 2 deletions doorbell-dingdong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ globals:
restore_value: true
initial_value: 'true'

button:
- platform: restart
name: "Doorbell Restart"

switch:
- platform: gpio
pin:
Expand All @@ -56,8 +60,6 @@ switch:
id: relay
internal: true
icon: mdi:alarm-bell
- platform: restart
name: "Doorbell Restart"
- platform: template
name: Doorbell Chime Active
id: chime_active
Expand Down
6 changes: 4 additions & 2 deletions doorbell-ring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ globals:
restore_value: true
initial_value: 'true'

button:
- platform: restart
name: "Doorbell Restart"

switch:
- platform: gpio
pin:
Expand All @@ -56,8 +60,6 @@ switch:
id: relay
internal: true
icon: mdi:alarm-bell
- platform: restart
name: "Doorbell Restart"
- platform: template
name: Doorbell Chime Active
id: chime_active
Expand Down
6 changes: 4 additions & 2 deletions smartdoorbell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ globals:
restore_value: true
initial_value: 'true'

button:
- platform: restart
name: "Doorbell Restart"

switch:
- platform: gpio
pin:
Expand All @@ -89,8 +93,6 @@ switch:
id: relay
internal: true
icon: mdi:alarm-bell
- platform: restart
name: "Doorbell Restart"
- platform: template
name: Doorbell Chime Active
id: chime_active
Expand Down