Fix a couple of basement bathroom sensor bugs

This commit is contained in:
ChNussbaum 2020-02-08 22:16:34 -06:00
parent 6e63a90ff7
commit 1390ae0c43

View File

@ -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