diff --git a/automations/files/alarm-clock.yaml b/automations/files/alarm-clock.yaml index 74f5355..d618bc4 100644 --- a/automations/files/alarm-clock.yaml +++ b/automations/files/alarm-clock.yaml @@ -56,7 +56,7 @@ state: unknown - condition: state entity_id: sensor.sm_g965f_next_alarm - state: ' com.urbandroid.sleep' + state: 'com.urbandroid.sleep' attribute: Package action: - service: input_datetime.set_datetime diff --git a/automations/files/bathroom-music.yaml b/automations/files/bathroom-music.yaml index 7f0cbc6..34e89ba 100644 --- a/automations/files/bathroom-music.yaml +++ b/automations/files/bathroom-music.yaml @@ -6,6 +6,10 @@ entity_id: binary_sensor.shower_motion from: 'off' to: 'on' + condition: + - condition: state + entity_id: media_player.bathroom_speaker + state: 'off' action: - service: spotcast.start data: @@ -29,10 +33,10 @@ condition: - condition: state entity_id: binary_sensor.shower_motion - state: 'on' + state: 'off' - condition: state entity_id: binary_sensor.bathroom_motion_sensor - state: 'on' + state: 'off' action: - service: media_player.turn_off entity_id: media_player.bathroom_speaker diff --git a/automations/files/kitchen-motion.yaml b/automations/files/kitchen-motion.yaml index c502fe7..11d528d 100644 --- a/automations/files/kitchen-motion.yaml +++ b/automations/files/kitchen-motion.yaml @@ -9,7 +9,7 @@ condition: - condition: numeric_state entity_id: sensor.kitchen_motion_luminance - below: '50' + below: '25' - condition: state entity_id: input_select.home_mode state: Day