Core: KNX Switch state not change

Created on 20 Nov 2020  路  6Comments  路  Source: home-assistant/core

The problem

After Updating to 0.118.0, the status of all switches show "off" (most of them are on).
The status is not updated.
The status of the lights/cover is correct, however.
I don't use context_timeout neither in light nor in switch.

Environment

  • Home Assistant Core release with the issue: 0.118.0
  • Last working Home Assistant Core release (if known): 0.115.x
  • Operating environment (OS/Container/Supervised/Core):
  • Integration causing this issue: knx
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/knx/

Problem-relevant configuration.yaml

#switch:
#### Prises RDC ###
    ## Cuisine ##
    # Plan de travail gauche
  - name: tele
    address: '2/0/1'
    state_address: '2/1/1'
    # Plan de travail milieu
  - name: Robot
    address: '2/0/2'
    state_address: '2/1/2'
    # Plan de travail droite
  - name: Machine 脿 caf茅
    address: '2/0/3'
    state_address: '2/1/3'
    ## Salon ##
    # Prise meuble TV
  - name: TV bas gauche
    address: '2/0/4'
    state_address: '2/1/4'
    # Prise meuble TV
  - name: TV bas droite
    address: '2/0/5'
    state_address: '2/1/5'
    # Prise meuble TV
  - name: TV haut
    address: '2/0/6'
    state_address: '2/1/6'
    ## Chambre d'amis - CH0 ##
    # Prise entr茅e
  - name: CH0 Prise Entr茅e
    address: '2/0/7'
    state_address: '2/1/7'
    # Prise chevet droit
  - name: CH0 Prise chevet droit
    address: '2/0/8'
    state_address: '2/1/8'
    # Prise chevet gauche
  - name: CH0 Prise chevet gauche
    address: '2/0/9'
    state_address: '2/1/9'       

Traceback/Error logs

No logs or erros

Additional information

knx

Most helpful comment

Hello, I have as well the same issue. The state address is not read by HA. (0.118.2).

I have this issue for lights and switches.
If I send by ETS an update, HA is not updating the status. I used ETS Monitoring to see all deails. There is all fine.

Hardware: MDT

HA 0.117.6 was working.

All 6 comments

Is it correct that the status is not initialized correctly after startup, but once set from HA or KNX it is fine again?

The initialization problem is already identified and we'll try to fix it soon.

(switches and lights don't support context_timeout. Only binary_sensor does)

Yes only on initialization HA startup, thanks

I have the same issue and had to revert to 0.117.6 for now. If there are any logs or debug info I can provide, I am happy to help. I'm not a dev however, so wouldn't know how to debug it by myself.

Hello, I have as well the same issue. The state address is not read by HA. (0.118.2).

I have this issue for lights and switches.
If I send by ETS an update, HA is not updating the status. I used ETS Monitoring to see all deails. There is all fine.

Hardware: MDT

HA 0.117.6 was working.

Seeing the same issue also. I have a switch that triggers an automation and it doesn't work any more.

Have same problem after version 0.118.2 - my binary_sensors stoped working, a have added contex_timeout to settings but it only helped for couple of minutes after restart, on next day can't switch buttons anymore. i have connected automations in ha to triton.

Reverting to 0.117.6 for now.

Was this page helpful?
0 / 5 - 0 ratings