Х
Size: a a a
Х
👷
Х
👷
Х
Х
Х
👷
Х
ДЦ
ДЦ
weather_tts:
alias: Weather to Speakers
sequence:
- service: media_player.volume_set
data_template:
entity_id: "{{ entity_id }}"
volume_level: "{{ volume_level }}"
- service: tts.yandextts_say
data_template:
entity_id: "{{ entity_id }}"
message: >
ДЦ
ДЦ
action:
- service: script.weather_tts
data_template:
entity_id: media_player.mpd
volume_level: '0.3'
👷
action:
- service: script.weather_tts
data_template:
entity_id: media_player.mpd
volume_level: '0.3'
👷
ДЦ
👷
👷
👷
switch_on_sleep_off:
alias: switch_on_sleep_off
description: "enable SWITCH.SWITCH_NAME, then sleep MINUTES, then disable SWITCH.SWITCH_NAME"
fields:
switch_name:
description: "set here which switch to use"
example: switch.warmfloor_1
minutes:
description: "set how much waiting to switch turn off"
example: 1
sequence:
- service: switch.turn_on
data_template:
entity_id: "{{ switch_name }}"
- delay:
data_template:
minutes: "{{ minutes }}"
- service: switch.turn_ff
data_template:
entity_id: "{{ switch_name }}"