diff --git a/node-red/projects/NerdFlows b/node-red/projects/NerdFlows index 41f60d8..daa39a8 160000 --- a/node-red/projects/NerdFlows +++ b/node-red/projects/NerdFlows @@ -1 +1 @@ -Subproject commit 41f60d83b3f6a9a20490420a959effb3f0617645 +Subproject commit daa39a815904bce28c623cd574d225f46968568f diff --git a/packages/master_bedroom.yaml b/packages/master_bedroom.yaml index 6bbcfd1..6903cd2 100644 --- a/packages/master_bedroom.yaml +++ b/packages/master_bedroom.yaml @@ -152,19 +152,12 @@ script: alias: 'Master Bedroom Sleep' mode: restart sequence: - - if: - - condition: state - entity_id: climate.master_bedroom_aircon - state: 'cool' - then: - - service: climate.set_preset_mode - target: - entity_id: climate.master_bedroom_aircon - data: - preset_mode: 'none' + - service: button.press + target: + entity_id: button.master_bedroom_night_mode - wait_template: "{{ is_state('light.master_bedroom_lights','off') }}" timeout: - minutes: 30 + minutes: 60 continue_on_timeout: true - service: switch.turn_on target: