mirror of
https://github.com/nuttytree/ESPHome-Devices.git
synced 2024-08-30 18:12:19 +00:00
Fix a couple of basement bathroom sensor bugs
This commit is contained in:
parent
6e63a90ff7
commit
1390ae0c43
@ -89,7 +89,15 @@ binary_sensor:
|
||||
- homeassistant.service:
|
||||
service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id: switch.basement_bathroom_light, switch.basement_shower_light, switch.basement_bathroom_heat
|
||||
entity_id: switch.basement_bathroom_light
|
||||
- homeassistant.service:
|
||||
service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id: switch.basement_shower_light
|
||||
- homeassistant.service:
|
||||
service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id: switch.basement_bathroom_heater
|
||||
- if:
|
||||
condition:
|
||||
binary_sensor.is_off: trigger_humidity
|
||||
@ -97,7 +105,7 @@ binary_sensor:
|
||||
- homeassistant.service:
|
||||
service: homeassistant.turn_off
|
||||
data:
|
||||
entity_id: switch.basement_bathroom_fan
|
||||
entity_id: fan.basement_bathroom_fan
|
||||
|
||||
- platform: template
|
||||
id: trigger_humidity
|
||||
@ -109,7 +117,7 @@ binary_sensor:
|
||||
- homeassistant.service:
|
||||
service: homeassistant.turn_on
|
||||
data:
|
||||
entity_id: switch.basement_bathroom_fan
|
||||
entity_id: fan.basement_bathroom_fan
|
||||
on_release:
|
||||
then:
|
||||
- if:
|
||||
@ -135,7 +143,7 @@ binary_sensor:
|
||||
|
||||
- platform: homeassistant
|
||||
id: heat
|
||||
entity_id: switch.basement_bathroom_heat
|
||||
entity_id: switch.basement_bathroom_heater
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
|
Loading…
Reference in New Issue
Block a user