diff --git a/config/automation/late_night_outside_helper.yaml b/config/automation/late_night_outside_helper.yaml index 61f428eb..b55e9cc7 100755 --- a/config/automation/late_night_outside_helper.yaml +++ b/config/automation/late_night_outside_helper.yaml @@ -36,7 +36,14 @@ {% else %} gold {% endif %} - - service: switch.turn_on + + - service_template: > + {% set hour=states("sensor.time").split(':')[0] | int %} + {% if hour >= 5 and hour <= 9 and states.group.bed.state == 'on'%} + switch.turn_off + {% else %} + switch.turn_on + {% endif %} entity_id: - switch.master_bathroom_accents - switch.back_landscaping diff --git a/config/www/custom_ui/floorplan/images/branding/solar_readings.png b/config/www/custom_ui/floorplan/images/branding/solar_readings.png index 72597940..e544184b 100644 Binary files a/config/www/custom_ui/floorplan/images/branding/solar_readings.png and b/config/www/custom_ui/floorplan/images/branding/solar_readings.png differ