-
Notifications
You must be signed in to change notification settings - Fork 0
/
media_players.yaml
120 lines (106 loc) · 3.28 KB
/
media_players.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# pioneer amp
# component uses telnet port 23 as default
# pioneer app uses 8102
- platform: pioneer
host: !secret pioneer_host
timeout: 200 #default is 10
# pioneer zone2 custom component
# https://github.com/salphonso/custom_components/blob/master/media_player/pioneer_hdz.py
# component uses telnet port 8103?
# pioneer main componnent uses 23
- platform: pioneer_hdz
host: !secret pioneer_host
port: 23
timeout: 200 #default is 10
- platform: ps4
host: !secret ps4_host
name: 'PS4'
games_filename: '.ps4-games.json'
# - platform: braviatv
# host: !secret bravia_host
- platform: braviatv_psk
name: Basement Sony TV
host: !secret bravia_host
mac: !secret bravia_mac
psk: !secret bravia_psk
amp: true
# android: false
### onkyo component supports vsx1131, i have 1130 which is different?!?
# - platform: onkyo
# host: !secret pioneer_host
# name: receiver
- platform: apple_tv
host: !secret appletv_host
login_id: !secret appletv_loginid
start_off: true
# - platform: plex
# entity_namespace: 'plex'
# show_all_controls: true
- platform: universal
name: Home Theatre
state_template: >
{% if is_state('media_player.basement_sony_tv', 'on') and is_state('media_player.pioneer_avr', 'on') %}
on
{% else %}
off
{% endif %}
children:
- media_player.pioneer_avr
- media_player.basement_sony_tv
- media_player.ps4
- media_player.miboxbasement
commands:
turn_on:
service: media_player.turn_on
data:
entity_id: media_player.basement_sony_tv, media_player.pioneer_avr
turn_off:
service: media_player.turn_off
data:
entity_id: media_player.basement_sony_tv, media_player.pioneer_avr
select_source:
service: media_player.select_source
data_template:
entity_id: media_player.pioneer_avr
source: '{{ source }}'
volume_up:
service: media_player.volume_up
data:
entity_id: media_player.pioneer_avr
volume_down:
service: media_player.volume_down
data:
entity_id: media_player.pioneer_avr
# volume_mute:
# service: media_player.volume_mute
# data:
# entity_id: media_player.pioneer_avr
volume_set:
service: media_player.volume_set
data_template:
entity_id: media_player.pioneer_avr
volume_level: '{{ volume_level }}'
attributes:
# state: media_player.basement_sony_tv, media_player.pioneer_avr
source: media_player.pioneer_avr|source
source_list: media_player.pioneer_avr|source_list
is_volume_muted: media_player.pioneer_avr|is_volume_muted
volume_level: media_player.pioneer_avr|volume_level
media_title: media_player.pioneer_avr|media_title
media_content_id: media_player.pioneer_avr|media_title
### this is deprecated config ###
# - platform: cast
# host: !secret mibox1_host
# name: Bedroom
### this is deprecated config ###
# - platform: cast
# host: !secret mibox2_host
# name: Tomas
### this is deprecated config ###
# - platform: cast
# host: !secret mibox3_host
# name: Sofia
### this is deprecated config ###
# - platform: cast
# host: !secret mibox4_host
# name: Basement