adding master bedroom combined
This commit is contained in:
@@ -19,4 +19,4 @@ http:
|
|||||||
#media_player:
|
#media_player:
|
||||||
# - platform: panasonic_bluray
|
# - platform: panasonic_bluray
|
||||||
# host: 10.0.1.150
|
# host: 10.0.1.150
|
||||||
media_player: !include media_players/livingroom.yaml
|
media_player: !include_dir_merge_list media_players/
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
- platform: universal
|
- platform: universal
|
||||||
name: combined_livingroom_tv
|
name: combined_livingroom_tv
|
||||||
|
unique_id: combined_livingroom_tv
|
||||||
children:
|
children:
|
||||||
- media_player.living_room_tv
|
- media_player.living_room_tv
|
||||||
- media_player.samsung_8_series_65
|
- media_player.samsung_8_series_65
|
||||||
|
|||||||
40
media_players/masterbedroom.yanl
Normal file
40
media_players/masterbedroom.yanl
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
- platform: universal
|
||||||
|
name: combined_master_bedroom_tv
|
||||||
|
unique_id: combined_master_bedroom_tv
|
||||||
|
children:
|
||||||
|
- media_player.master_bedroom_tv_2
|
||||||
|
- media_player.samsung_6_series_65
|
||||||
|
commands:
|
||||||
|
turn_on:
|
||||||
|
action: media_player.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: media_player.master_bedroom_tv_2
|
||||||
|
turn_off:
|
||||||
|
action: media_player.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: media_player.master_bedroom_tv_2
|
||||||
|
volume_up:
|
||||||
|
action: media_player.volume_up
|
||||||
|
target:
|
||||||
|
entity_id: media_player.samsung_6_series_65
|
||||||
|
volume_down:
|
||||||
|
action: media_player.volume_down
|
||||||
|
target:
|
||||||
|
entity_id: media_player.samsung_6_series_65
|
||||||
|
volume_mute:
|
||||||
|
action: media_player.volume_mute
|
||||||
|
target:
|
||||||
|
entity_id: media_player.samsung_6_series_65
|
||||||
|
data:
|
||||||
|
is_volume_muted: "{{ is_volume_muted }}"
|
||||||
|
volume_set:
|
||||||
|
action: media_player.volume_set
|
||||||
|
target:
|
||||||
|
entity_id: media_player.samsung_6_series_65
|
||||||
|
data:
|
||||||
|
volume_level: "{{ volume_level }}"
|
||||||
|
attributes:
|
||||||
|
is_volume_muted: media_player.samsung_6_series_65|is_volume_muted
|
||||||
|
volume_level: media_player.samsung_6_series_65|volume_level
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user