@skgunputh wrote:
Hello, Could someone help me on this automation? On pressing a switch to switch my tv and set top box and select the channel. It works except the delaying for 10 seconds and putting it on Channel 230.
- alias: Turn on TV/myT on MBC1 trigger: platform: state entity_id: binary_sensor.tv_switch to: 'on' action: - service: media_player.turn_on entity_id: media_player.lg_webos_smart_tv - service: media_player.turn_on entity_id: media_player.myt_box # - delay: # seconds: 10 # - service: media_player.select_source # entity_id: media_player.myt_box # source: Channel 230
The Set top box uses Smart IR configured with a Broadlink RM mini.
media_player.myt_box has the following:
source_list: - Channel 0 - Channel 1 - Channel 2 - Channel 3 - Channel 4 - Channel 5 - Channel 6 - Channel 7 - Channel 8 - Channel 9 - Channel 230 - Input media_content_type: channel device_code: 1040 manufacturer: Other supported_models: - Unknown supported_controller: Broadlink commands_encoding: Base64 friendly_name: myT Box supported_features: 3512 device_class: tv
Posts: 1
Participants: 1