Lots of edits due to impromtu change from OZW to ZwaveJS

This commit is contained in:
Jeffrey Stone
2021-06-16 21:12:39 -04:00
parent f321395ce6
commit a5b91be8df
7 changed files with 12 additions and 247 deletions

View File

@@ -27,7 +27,7 @@ automation:
alias: Washer Running
trigger:
- above: 5
entity_id: sensor.washer_energy_w
entity_id: sensor.washer_power_consumed_w
platform: numeric_state
condition:
condition: or
@@ -41,19 +41,19 @@ automation:
action:
- service: script.washer_running
# Since the washer has run lets consume a detergent tablet
- service: shell_command.grocy_consume_item
data:
server_ip: !secret grocy_ip
grocy_key: !secret grocy_api_key
product_id: 6
amount: 1
# - service: shell_command.grocy_consume_item
# data:
# server_ip: !secret grocy_ip
# grocy_key: !secret grocy_api_key
# product_id: 6
# amount: 1
initial_state: true
- id: washer_complete
alias: Washer Complete
trigger:
- below: 3
entity_id: sensor.washer_energy_w
entity_id: sensor.washer_power_consumed_w
platform: numeric_state
condition:
- condition: state

View File

@@ -280,8 +280,7 @@ automation:
- choose:
- conditions:
- condition: template
value_template: '{{ trigger.to_state.attributes.friendly_name == "Dog Mode"
}}'
value_template: '{{ trigger.to_state.attributes.friendly_name == "Dog Mode" }}'
sequence:
- service: script.text_notify
data: