1
0

Fix some automations

setting alarm clock
 bathroom music restarting
 kitchen motion when it's bright in kitchen
This commit is contained in:
Przemek Grondek 2021-01-15 10:03:20 +01:00
parent 327de679f4
commit dfc1f6e64c
3 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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