I want to know how to change a source in YAML for my sony bravia 55x950g in HA. i want to create a scrolling menu with the sources a want to configure for an easy switching with my phone or watch. i’ve already make the OFF one with this code :
- id: '1641154773043'
alias: 'TV Off '
description: Menu deroulant "TV"
trigger:
- platform: state
entity_id: input_select.tv
to: 'Off'
condition: []
action:
- type: turn_off
device_id: bfcf59f870ab575a6bb47ec2b3fb2705
entity_id: remote.sony_bravia_tv
domain: remote
mode: single
You’re welcome! Glad to hear it solved the problem.
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions. For more information, refer to guideline 21 in the FAQ.