updating configuration

This commit is contained in:
Your Name
2019-12-03 19:45:26 +03:00
parent 5ab3a0ee60
commit 7b74d8015f
6 changed files with 138 additions and 20 deletions
@@ -1,13 +1,13 @@
#################################################
# WATER #
#################################################
- platform: mqtt
state_topic: 'home/bath/bath/cold'
name: 'counter_cold'
value_template: '{{ (value | float ) / 1000 }}'
unit_of_measurement: 'm3'
- platform: mqtt
state_topic: 'home/bath/bath/hot'
name: 'counter_hot'
value_template: '{{ (value | float ) / 1000 }}'
unit_of_measurement: 'm3'
# - platform: mqtt
# state_topic: 'home/bath/bath/cold'
# name: 'counter_cold'
# value_template: '{{ (value | float ) / 1000 }}'
# unit_of_measurement: 'm3'
# - platform: mqtt
# state_topic: 'home/bath/bath/hot'
# name: 'counter_hot'
# value_template: '{{ (value | float ) / 1000 }}'
# unit_of_measurement: 'm3'
@@ -1,8 +1,8 @@
- platform: mqtt
name: water_valve
state_topic: "home/bath/bath/valve"
command_topic: "home/bath/bath/valve/set"
payload_on: "open"
payload_off: "close"
optimistic: false
retain: false
# - platform: mqtt
# name: water_valve
# state_topic: "home/bath/bath/valve"
# command_topic: "home/bath/bath/valve/set"
# payload_on: "open"
# payload_off: "close"
# optimistic: false
# retain: false