updating configuration
This commit is contained in:
@@ -21,55 +21,65 @@
|
||||
# {{ states('sensor.dishwasher_program_progress') + "%" }}
|
||||
# {% endif %}
|
||||
|
||||
mqtt:
|
||||
sensor:
|
||||
- name: hc_dishwasher_state
|
||||
unique_id: hc_dishwasher_state
|
||||
state_topic: "homeconnect/dishwasher/state"
|
||||
value_template: "{{ value_json.state }}"
|
||||
json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
- name: hc_dishwasher_remaining
|
||||
unique_id: hc_dishwasher_remaining
|
||||
state_topic: "homeconnect/dishwasher/state"
|
||||
value_template: "{{ value_json.remaining }}"
|
||||
json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
binary_sensor:
|
||||
- state_topic: "homeconnect/dishwasher/state"
|
||||
name: hc_dishwasher_door
|
||||
unique_id: hc_dishwasher_door
|
||||
device_class: opening
|
||||
payload_on: "Open"
|
||||
payload_off: "Closed"
|
||||
value_template: "{{ value_json.door }}"
|
||||
json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
- state_topic: "homeconnect/dishwasher/state"
|
||||
name: hc_dishwasher_power
|
||||
unique_id: hc_dishwasher_power
|
||||
payload_on: true
|
||||
payload_off: false
|
||||
value_template: "{{ value_json.power }}"
|
||||
json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
# mqtt:
|
||||
# sensor:
|
||||
# - name: hc_dishwasher_state
|
||||
# unique_id: hc_dishwasher_state
|
||||
# state_topic: "homeconnect/dishwasher/state"
|
||||
# value_template: "{{ value_json.state }}"
|
||||
# json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
# - name: hc_dishwasher_remaining
|
||||
# unique_id: hc_dishwasher_remaining
|
||||
# state_topic: "homeconnect/dishwasher/state"
|
||||
# value_template: "{{ value_json.remaining }}"
|
||||
# json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
# binary_sensor:
|
||||
# - state_topic: "homeconnect/dishwasher/state"
|
||||
# name: hc_dishwasher_door
|
||||
# unique_id: hc_dishwasher_door
|
||||
# device_class: opening
|
||||
# payload_on: "Open"
|
||||
# payload_off: "Closed"
|
||||
# value_template: "{{ value_json.door }}"
|
||||
# json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
# - state_topic: "homeconnect/dishwasher/state"
|
||||
# name: hc_dishwasher_power
|
||||
# unique_id: hc_dishwasher_power
|
||||
# payload_on: true
|
||||
# payload_off: false
|
||||
# value_template: "{{ value_json.power }}"
|
||||
# json_attributes_topic: "homeconnect/dishwasher/state"
|
||||
template:
|
||||
binary_sensor:
|
||||
- name: hc_dishwasher_running
|
||||
unique_id: hc_dishwasher_running
|
||||
state: "{{ is_state('sensor.hc_dishwasher_state', 'Run') }}"
|
||||
- name: bosch_dishwasher_running
|
||||
unique_id: bosch_dishwasher_running
|
||||
state: "{{ is_state('sensor.bosch_dishwasher_operation_state', 'Run') }}"
|
||||
|
||||
counter:
|
||||
dishwasher_door_open_count:
|
||||
name: dishwasher_door_open_count
|
||||
bosch_dishwasher_door_open_count:
|
||||
name: bosch_dishwasher_door_open_count
|
||||
|
||||
input_select:
|
||||
bosch_dishwasher_state_extended:
|
||||
name: bosch_dishwasher_state_extended
|
||||
options:
|
||||
- 'Empty'
|
||||
- 'Washing'
|
||||
- 'Washed'
|
||||
- 'Collecting Dishes'
|
||||
- 'Ready to wash'
|
||||
|
||||
homeassistant:
|
||||
customize:
|
||||
sensor.hc_dishwasher_state:
|
||||
sensor.bosch_dishwasher_state:
|
||||
friendly_name: Посудомойка Статус
|
||||
binary_sensor.hc_dishwasher_door:
|
||||
binary_sensor.bosch_dishwasher_door:
|
||||
friendly_name: Посудомойка Дверца
|
||||
binary_sensor.hc_dishwasher_remaining:
|
||||
binary_sensor.bosch_dishwasher_remaining:
|
||||
friendly_name: Посудомойка До конца программы
|
||||
sensor.hc_dishwasher_running:
|
||||
sensor.bosch_dishwasher_running:
|
||||
friendly_name: Посудомоечная машина
|
||||
binary_sensor.hc_dishwasher_power:
|
||||
binary_sensor.bosch_dishwasher_power:
|
||||
friendly_name: Посудомойка Питание
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user