knx

'All On/Off' only switch Off for KNX Central Group Address

· 1 min read
'All On/Off' only switch Off for KNX Central Group Address

I had an issue where i have an All On/Off Central group address in KNX but I didn't want to be able to do a Switch On All for a switch from Home Assistant.

I came up with a template switch like this:

knx:
   switch:
      - name: 'Alles Uit/Aan'
        address: '0/0/1'
switch:
 - platform: template
   switches:
     alles_uit:
       friendly_name: "Alles Uit"
       value_template: "{{ is_state('switch.alles_uit_aan', 'off') }}"
       turn_on:
         service: switch.turn_off
         data:
           entity_id: switch.alles_uit_aan
       turn_off:
         service: switch.turn_off
         data:
           entity_id: switch.alles_uit_aan

Related Articles

Home Assistant OS on a Intel NUC
· 2 min read
JUNG KNX multi station
· 3 min read
Gira Home Server 4 on Fujitsu S720
· 2 min read
KNX with a power-line IP backbone
· 3 min read
Online KNX Resources
· 1 min read