Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias: Script Buongiorno NEW
- sequence:
- - service: media_player.turn_on
- data: {}
- target:
- entity_id: media_player.tv_samsung
- - delay:
- hours: 0
- minutes: 0
- seconds: 5
- milliseconds: 0
- - service: media_player.turn_on
- data: {}
- target:
- entity_id: media_player.sky_q
- - delay:
- hours: 0
- minutes: 0
- seconds: 5
- milliseconds: 0
- - service: switch.toggle
- data: {}
- target:
- entity_id: switch.skyq_giornaleradiotvsoggiorno
- - if:
- - condition: sun
- before: sunrise
- then:
- - service: light.turn_on
- data:
- rgb_color:
- - 17
- - 0
- - 255
- target:
- entity_id:
- - light.led_mobile
- - light.mobile2_lidl
- - light.lettura_tradfri
- - light.led_cucina
- else:
- - if:
- - condition: or
- conditions:
- - condition: time
- before: '10:00:00'
- - condition: time
- after: '18:59:59'
- then:
- - service: light.turn_on
- data:
- rgb_color:
- - 251
- - 255
- - 0
- target:
- entity_id:
- - light.led_mobile
- - service: light.turn_on
- data: {}
- target:
- entity_id: light.led_cucina
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement