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
|
state: unknown
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: sensor.sm_g965f_next_alarm
|
entity_id: sensor.sm_g965f_next_alarm
|
||||||
state: ' com.urbandroid.sleep'
|
state: 'com.urbandroid.sleep'
|
||||||
attribute: Package
|
attribute: Package
|
||||||
action:
|
action:
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
|
@ -6,6 +6,10 @@
|
|||||||
entity_id: binary_sensor.shower_motion
|
entity_id: binary_sensor.shower_motion
|
||||||
from: 'off'
|
from: 'off'
|
||||||
to: 'on'
|
to: 'on'
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: media_player.bathroom_speaker
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: spotcast.start
|
- service: spotcast.start
|
||||||
data:
|
data:
|
||||||
@ -29,10 +33,10 @@
|
|||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.shower_motion
|
entity_id: binary_sensor.shower_motion
|
||||||
state: 'on'
|
state: 'off'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.bathroom_motion_sensor
|
entity_id: binary_sensor.bathroom_motion_sensor
|
||||||
state: 'on'
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
entity_id: media_player.bathroom_speaker
|
entity_id: media_player.bathroom_speaker
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.kitchen_motion_luminance
|
entity_id: sensor.kitchen_motion_luminance
|
||||||
below: '50'
|
below: '25'
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_select.home_mode
|
entity_id: input_select.home_mode
|
||||||
state: Day
|
state: Day
|
||||||
|
Loading…
Reference in New Issue
Block a user