mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
39 lines
1016 B
YAML
39 lines
1016 B
YAML
# https://www.home-assistant.io/integrations/webostv
|
|
webostv:
|
|
- host: !secret living_room_tv_ip
|
|
name: Living Room TV
|
|
turn_on_action:
|
|
service: wake_on_lan.send_magic_packet
|
|
data:
|
|
mac: !secret living_room_tv_mac
|
|
# customize:
|
|
# sources:
|
|
# - livetv
|
|
# - youtube
|
|
# - makotv
|
|
# - netflix
|
|
|
|
media_player:
|
|
- platform: androidtv
|
|
name: nvidia shield
|
|
host: !secret nvidia_shield_host
|
|
|
|
script:
|
|
tv_chill:
|
|
alias: TV Chill
|
|
sequence:
|
|
- service: media_extractor.play_media
|
|
data:
|
|
entity_id: media_player.shield
|
|
media_content_id: "https://www.youtube.com/watch?v=UgHKb_7884o"
|
|
media_content_type: video/youtube
|
|
|
|
latest_pds:
|
|
alias: Play the latest PDS
|
|
sequence:
|
|
- service: media_extractor.play_media
|
|
data_template:
|
|
entity_id: media_player.shield
|
|
media_content_id: "{{ state_attr('sensor.philip_defranco', 'url') }}"
|
|
media_content_type: video/youtube
|