My previously working config, used to communicate with GitHub - hass-agent/HASS.Agent: Unofficial development project for the HASS.Agent platform. · GitHub
But it stopped working on core 2026.6.4
Can someone help me upgrade it please? Thank you.
switch:
- platform: template
switches:
computer_proxy:
friendly_name: "LCD Computer"
value_template: "{{ is_state('sensor.COMPUTER_monitorpowerstate', 'PowerOn') }}"
turn_on:
- service: switch.turn_on
target:
entity_id: switch.COMPUTER_unmute
- service: switch.turn_on
target:
entity_id: switch.COMPUTER_monitorwake
- service: switch.turn_on
target:
entity_id: switch.COMPUTER_setGamma
turn_off:
- service: switch.turn_on
target:
entity_id: switch.COMPUTER_mute
- service: switch.turn_on
target:
entity_id: switch.COMPUTER_monitorsleep
icon_template: >-
{% if is_state('sensor.COMPUTER_monitorpowerstate', 'PowerOn') %}
mdi:monitor
{% else %}
mdi:monitor-off
{% endif %}

