From cb2e70ee573b0daad30330a6c6f899d736ffbf5f Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 9 Jul 2026 23:09:57 +0200 Subject: [PATCH] Add storeban --- apps/rooms/kitchen.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/apps/rooms/kitchen.yaml b/apps/rooms/kitchen.yaml index 4b9ed7f..ff68e2d 100644 --- a/apps/rooms/kitchen.yaml +++ b/apps/rooms/kitchen.yaml @@ -90,4 +90,19 @@ senseo_quadrante: good_morning: event_name: good_morning button: button.senseo_quadrante_brew_coffee_double - condition: binary_sensor.senseo_quadrante_has_program and binary_sensor.senseo_quadrante_has_program.cup_size == 2 and not binary_sensor.senseo_quadrante_has_program.power_pressed \ No newline at end of file + condition: binary_sensor.senseo_quadrante_has_program and binary_sensor.senseo_quadrante_has_program.cup_size == 2 and not binary_sensor.senseo_quadrante_has_program.power_pressed + +storeban: + module: smartshutter + class: SmartShutter + entity: cover.storeban + + virtual_sensors: + sensors: + binary_sensor.storeban_autoclose: sensor.sun_solar_elevation < 0 or (sensor.sun_solar_azimuth > 235 and sensor.sun_solar_elevation < 45) + + close_conditions: + trigger_conditions: binary_sensor.storeban_autoclose + disable_conditions: not binary_sensor.storeban_autoclose + + \ No newline at end of file