diff --git a/script/front_house_motion.yaml b/script/front_house_motion.yaml index fd8e77a2..eb940c55 100755 --- a/script/front_house_motion.yaml +++ b/script/front_house_motion.yaml @@ -20,10 +20,6 @@ front_house_motion: - delay: '00:10:00' - service: light.turn_off entity_id: group.outdoor_front_lights - - - condition: sun - before: 'sunrise' - before_offset: '-03:00:00' - delay: '00:00:10' - service: script.monthly_front_house_scene diff --git a/script/monthly_front_house_scene.yaml b/script/monthly_front_house_scene.yaml index c5452cad..3b7db8a7 100755 --- a/script/monthly_front_house_scene.yaml +++ b/script/monthly_front_house_scene.yaml @@ -8,6 +8,10 @@ monthly_front_house_scene: sequence: + - condition: sun + before: 'sunrise' + before_offset: '-03:00:00' + - service: scene.turn_on data_template: entity_id: "scene.month_front_{{ states('sensor.date').split('-')[1] }}_colors"