Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KNX Switch state not change #43424

Closed
tonioa opened this issue Nov 20, 2020 · 6 comments · Fixed by #43536
Closed

KNX Switch state not change #43424

tonioa opened this issue Nov 20, 2020 · 6 comments · Fixed by #43536
Assignees

Comments

@tonioa
Copy link

tonioa commented Nov 20, 2020

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

@tonioa tonioa changed the title KNX KNX Switch state not change Nov 20, 2020
@farmio
Copy link
Contributor

farmio commented Nov 20, 2020

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)

@tonioa
Copy link
Author

tonioa commented Nov 20, 2020

Yes only on initialization HA startup, thanks

@Benny-Git
Copy link

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.

@mag2bue
Copy link

mag2bue commented Nov 21, 2020

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.

@ajuch
Copy link

ajuch commented Nov 22, 2020

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

@kakaki
Copy link

kakaki commented Nov 22, 2020

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.

@farmio farmio mentioned this issue Nov 22, 2020
21 tasks
@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants