|
|
@ -132,7 +132,7 @@
|
|
|
|
- input_boolean.alarm_weekend
|
|
|
|
- input_boolean.alarm_weekend
|
|
|
|
to: 'on'
|
|
|
|
to: 'on'
|
|
|
|
action:
|
|
|
|
action:
|
|
|
|
- service: yandex_tts_alarm_on
|
|
|
|
- service: script.yandex_tts_alarm_on
|
|
|
|
|
|
|
|
|
|
|
|
# ВЫКЛЮЧЕНИЕ КЛАВИШАМИ. ПРОСТО ЗВУКОВОЕ СООБЩЕНИЕ О ВЫКЛЮЧЕНИИ
|
|
|
|
# ВЫКЛЮЧЕНИЕ КЛАВИШАМИ. ПРОСТО ЗВУКОВОЕ СООБЩЕНИЕ О ВЫКЛЮЧЕНИИ
|
|
|
|
- id: 'off_alarm_clock'
|
|
|
|
- id: 'off_alarm_clock'
|
|
|
@ -144,7 +144,7 @@
|
|
|
|
- input_boolean.alarm_1_weekend
|
|
|
|
- input_boolean.alarm_1_weekend
|
|
|
|
to: 'off'
|
|
|
|
to: 'off'
|
|
|
|
action:
|
|
|
|
action:
|
|
|
|
- service: yandex_tts_alarm_off
|
|
|
|
- service: script.yandex_tts_alarm_off
|
|
|
|
|
|
|
|
|
|
|
|
# Запуск будильника по будням
|
|
|
|
# Запуск будильника по будням
|
|
|
|
- id: 'alarm_weekday'
|
|
|
|
- id: 'alarm_weekday'
|
|
|
@ -225,35 +225,31 @@
|
|
|
|
- condition: state
|
|
|
|
- condition: state
|
|
|
|
entity_id: sun.sun
|
|
|
|
entity_id: sun.sun
|
|
|
|
state: above_horizon
|
|
|
|
state: above_horizon
|
|
|
|
for:
|
|
|
|
- service: cover.set_cover_position
|
|
|
|
hours: 0
|
|
|
|
|
|
|
|
minutes: 1
|
|
|
|
|
|
|
|
seconds: 0
|
|
|
|
|
|
|
|
- service: cover.open_cover
|
|
|
|
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
position: 10
|
|
|
|
position: 10
|
|
|
|
target:
|
|
|
|
target:
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
- delay: 00:02:00
|
|
|
|
- delay: 00:02:00
|
|
|
|
- service: cover.open_cover
|
|
|
|
- service: cover.set_cover_position
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
position: 30
|
|
|
|
position: 30
|
|
|
|
target:
|
|
|
|
target:
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
- delay: 00:02:00
|
|
|
|
- delay: 00:02:00
|
|
|
|
- service: cover.open_cover
|
|
|
|
- service: cover.set_cover_position
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
position: 50
|
|
|
|
position: 50
|
|
|
|
target:
|
|
|
|
target:
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
- delay: 00:02:00
|
|
|
|
- delay: 00:02:00
|
|
|
|
- service: cover.open_cover
|
|
|
|
- service: cover.set_cover_position
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
position: 70
|
|
|
|
position: 70
|
|
|
|
target:
|
|
|
|
target:
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
entity_id: cover.yeelink_ctmt1_c8c9_curtain
|
|
|
|
- delay: 00:02:00
|
|
|
|
- delay: 00:02:00
|
|
|
|
- service: cover.open_cover
|
|
|
|
- service: cover.set_cover_position
|
|
|
|
data:
|
|
|
|
data:
|
|
|
|
position: 100
|
|
|
|
position: 100
|
|
|
|
target:
|
|
|
|
target:
|
|
|
@ -263,16 +259,17 @@
|
|
|
|
wakeup_sequence:
|
|
|
|
wakeup_sequence:
|
|
|
|
alias: wakeup_sequence
|
|
|
|
alias: wakeup_sequence
|
|
|
|
sequence:
|
|
|
|
sequence:
|
|
|
|
- data: {}
|
|
|
|
- service: script.turn_on
|
|
|
|
#сбрасываем параметры освещения
|
|
|
|
target:
|
|
|
|
service: wakeup_celib_start
|
|
|
|
entity_id: script.wakeup_celib_start
|
|
|
|
- delay: 00:00:02
|
|
|
|
- delay: 00:00:05
|
|
|
|
#включаем плавное наращивание освещения
|
|
|
|
- service: script.turn_on
|
|
|
|
- service: script.wakeup_celib_start
|
|
|
|
target:
|
|
|
|
- service: script.wakeup_cover_start
|
|
|
|
entity_id: script.wakeup_cover_start
|
|
|
|
- data: {}
|
|
|
|
- delay: 00:00:05
|
|
|
|
#Включение музыки на яндекс станции
|
|
|
|
- service: script.turn_on
|
|
|
|
service: yandex_tts_alarm_start
|
|
|
|
target:
|
|
|
|
|
|
|
|
entity_id: script.yandex_tts_alarm_start
|
|
|
|
|
|
|
|
|
|
|
|
# TTS YANDEX
|
|
|
|
# TTS YANDEX
|
|
|
|
yandex_tts_alarm_start:
|
|
|
|
yandex_tts_alarm_start:
|
|
|
|