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


1 Minute Lesezeit
'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 Database Maintenance
3 Minuten Lesezeit
SIEMENS 5WG1 260-1AB01 Binary Inputs
2 Minuten Lesezeit
KNX Basic Training
1 Minute Lesezeit
Invert Window Sensor state for ABB EnOcean Gateway
1 Minute Lesezeit
Geigercounter with ESPHome
2 Minuten Lesezeit

GO TOP