Created
September 10, 2023 21:35
-
-
Save dmitriysafronov/5676a6720fe688662ad44eb1949093d0 to your computer and use it in GitHub Desktop.
Home Assistant bathroom combo-hygro-thermo-stat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hygrostat_fan_bathroom: | |
homeassistant: | |
customize: | |
climate.fan_bathroom: | |
friendly_name: "Санузел - Вытяжка - Термостат" | |
icon: mdi:thermostat-auto | |
humidifier.fan_bathroom: | |
friendly_name: "Санузел - Вытяжка - Гигростат" | |
icon: mdi:thermostat-auto | |
switch.fan_bathroom: | |
friendly_name: "Санузел - Вытяжка - Выключатель" | |
icon: mdi:thermostat-box-auto | |
sensor.fan_bathroom_temperature: | |
friendly_name: "Санузел - Вытяжка - Датчик температуры" | |
icon: mdi:thermometer-auto | |
sensor.fan_bathroom_humidity: | |
friendly_name: "Санузел - Вытяжка - Датчик влажности" | |
icon: mdi:water-opacity | |
input_boolean: | |
fan_bathroom_temperature: | |
name: "Санузел - Вытяжка - Выключатель по температуре (виртуальный)" | |
icon: mdi:thermostat-box-auto | |
fan_bathroom_humidity: | |
name: "Санузел - Вытяжка - Выключатель по влажности (виртуальный)" | |
icon: mdi:thermostat-box-auto | |
climate: | |
- platform: generic_thermostat | |
ac_mode: true | |
name: fan_bathroom | |
heater: input_boolean.fan_bathroom_temperature | |
target_sensor: sensor.fan_bathroom_temperature | |
cold_tolerance: 0.1 | |
hot_tolerance: 0.1 | |
keep_alive: | |
minutes: 5 | |
min_temp: 18 | |
max_temp: 40 | |
target_temp: 30 | |
sleep_temp: 35 | |
activity_temp: 40 | |
away_temp: 45 | |
generic_hygrostat: | |
- name: fan_bathroom | |
humidifier: input_boolean.fan_bathroom_humidity | |
target_sensor: sensor.fan_bathroom_humidity | |
min_humidity: 20 | |
max_humidity: 70 | |
target_humidity: 40 | |
dry_tolerance: 3 | |
wet_tolerance: 0 | |
device_class: "dehumidifier" | |
min_cycle_duration: | |
seconds: 5 | |
initial_state: true | |
away_humidity: 60 | |
away_fixed: false | |
sensor_stale_duration: 00:15:00 | |
automation: | |
- alias: fan_bathroom_on | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- input_boolean.fan_bathroom_temperature | |
- platform: state | |
entity_id: | |
- input_boolean.fan_bathroom_humidity | |
condition: | |
- condition: or | |
conditions: | |
- condition: state | |
entity_id: input_boolean.fan_bathroom_temperature | |
state: "on" | |
- condition: state | |
entity_id: input_boolean.fan_bathroom_humidity | |
state: "on" | |
action: | |
- service: switch.turn_on | |
data: {} | |
target: | |
entity_id: switch.fan_bathroom | |
mode: single | |
- alias: fan_bathroom_off | |
description: "" | |
trigger: | |
- platform: state | |
entity_id: | |
- input_boolean.fan_bathroom_temperature | |
- platform: state | |
entity_id: | |
- input_boolean.fan_bathroom_humidity | |
condition: | |
- condition: state | |
entity_id: input_boolean.fan_bathroom_temperature | |
state: "off" | |
- condition: state | |
entity_id: input_boolean.fan_bathroom_humidity | |
state: "off" | |
action: | |
- service: switch.turn_off | |
data: {} | |
target: | |
entity_id: switch.fan_bathroom | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment