Fix some automations
setting alarm clock bathroom music restarting kitchen motion when it's bright in kitchen
This commit is contained in:
parent
327de679f4
commit
dfc1f6e64c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user