Добавить
Уведомления

Make your Dishwasher, Washing machine or Dryer smart with Home Assistant

In this video I will show you how you can make your Dishwasher, Washing machine or Dryer smart with Home assistant. I will create a sensor which changes state and icon based on if the machine is Empty, Running or Done. 0:00 Intro 0:37 Sensors and installation 1:49 Home Assistant Logic 3:28 Home Assistant Setup: Helper Toggle 4:08 Home Assistant Setup: Dryer Sensor 5:22 Home Assistant Automation: Dryer Done 6:36 Home Assistant Automation: Dryer Empty 7:06 The result 7:50 Outro Mailbox sensor code for configuration.yaml *NOTE* you need to add angle brackets between: value_template: and - icon_template: and - float and 0 See in the video if you are unsure! ##Sensors## sensor: ## Torktumlaren ## - platform: template sensors: dryer: friendly_name: "Dryer" value_template: - {% if is_state("input_boolean.dryer", "on") -%} Done {% elif states('sensor.dryer_current_consumption')|float 0 %} Running {%- else -%} Empty {%- endif %} icon_template: - {% if is_state("input_boolean.dryer", "on") -%} mdi:tumble-dryer-alert {% elif states('sensor.dryer_current_consumption')|float 0 %} mdi:tumble-dryer {% else %} mdi:tumble-dryer-off {% endif %}

Иконка канала JavaScript Боты
15 подписчиков
12+
17 просмотров
2 года назад
12+
17 просмотров
2 года назад

In this video I will show you how you can make your Dishwasher, Washing machine or Dryer smart with Home assistant. I will create a sensor which changes state and icon based on if the machine is Empty, Running or Done. 0:00 Intro 0:37 Sensors and installation 1:49 Home Assistant Logic 3:28 Home Assistant Setup: Helper Toggle 4:08 Home Assistant Setup: Dryer Sensor 5:22 Home Assistant Automation: Dryer Done 6:36 Home Assistant Automation: Dryer Empty 7:06 The result 7:50 Outro Mailbox sensor code for configuration.yaml *NOTE* you need to add angle brackets between: value_template: and - icon_template: and - float and 0 See in the video if you are unsure! ##Sensors## sensor: ## Torktumlaren ## - platform: template sensors: dryer: friendly_name: "Dryer" value_template: - {% if is_state("input_boolean.dryer", "on") -%} Done {% elif states('sensor.dryer_current_consumption')|float 0 %} Running {%- else -%} Empty {%- endif %} icon_template: - {% if is_state("input_boolean.dryer", "on") -%} mdi:tumble-dryer-alert {% elif states('sensor.dryer_current_consumption')|float 0 %} mdi:tumble-dryer {% else %} mdi:tumble-dryer-off {% endif %}

, чтобы оставлять комментарии