diff --git a/homeassistant/config/automations/home_maintenance/turn_off_swimming_pool_pump_according_to_energy_usage.yaml b/homeassistant/config/automations/home_maintenance/turn_off_swimming_pool_pump_according_to_energy_usage.yaml index 717318d..db04812 100644 --- a/homeassistant/config/automations/home_maintenance/turn_off_swimming_pool_pump_according_to_energy_usage.yaml +++ b/homeassistant/config/automations/home_maintenance/turn_off_swimming_pool_pump_according_to_energy_usage.yaml @@ -34,6 +34,10 @@ condition: entity_id: sensor.bomba_piscina_switch_0_power above: 0 alias: Swimming pool pump working + - condition: state + entity_id: schedule.swimming_pool_pump_schedule + state: "off" + alias: "Swimming pool pump schedule is OFF" action: - alias: Set up variables for the actions variables: