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

turn_off switch created for network client immediately turns on again #81819

Closed
vadercent opened this issue Nov 8, 2022 · 9 comments · Fixed by #81883
Closed

turn_off switch created for network client immediately turns on again #81819

vadercent opened this issue Nov 8, 2022 · 9 comments · Fixed by #81883
Assignees

Comments

@vadercent
Copy link

The problem

I noticed that the switch created for a network client turns on immediately after turning it off.
In my Unifi controller the client is blocked.
But next it no longer works turning on (i.e. unblocking the network client).

What version of Home Assistant Core has the issue?

2022.11.1

What was the last working version of Home Assistant Core?

2022.10.5

What type of installation are you running?

Home Assistant OS

Integration causing the issue

unifi

Link to integration documentation on our website

https://www.home-assistant.io/integrations/unifi

Diagnostics information

please let me know if this is required, because the diagnostics seem to contain a lot of private info...

Example YAML snippet

No response

Anything in the logs that might be useful for us?

nothing found

Additional information

Screenshot 2022-11-08 at 22 50 59

@home-assistant
Copy link

home-assistant bot commented Nov 8, 2022

Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration (unifi) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of unifi can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign unifi Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


unifi documentation
unifi source
(message by IssueLinks)

@richsimpson
Copy link

Seeing the same thing here. If you turn off, the switch looks to be on again after a few seconds.

If you reload the integration, they update to an off state.

@daletuttle
Copy link

Also having this issue. I can see the action take affect in UniFi logs but then home assistant switch resets.

@Kane610
Copy link
Member

Kane610 commented Nov 9, 2022

Hello! Can you enable debugging for the integration and share logs with me? You can share them privately on the forums https://community.home-assistant.io/u/robban/

@shemicohen
Copy link

Hi everyone,
It happens to me too.. the exact same problem.
The buttons go back to the ON position by themselves even though I pressed off.
Only after I press reload to the integration does the status of the button change to OFF state.

@Kane610
Copy link
Member

Kane610 commented Nov 9, 2022

There is no need to report about the issue any more, you're all having the same problem, the only future communication on this issue should be about data helping resolve the issue.

@matthyne
Copy link

matthyne commented Nov 9, 2022

I am seeing the same problem.

  • I have tried removing the Unifi integration and re-adding it but the problem persists.
  • Debug Logging does not show any abnormalities.

It appears that the switch mechanism in HA is not getting confirmation that the end device changed state and is then reverting back to the original state.

@Kane610
Copy link
Member

Kane610 commented Nov 9, 2022

I am seeing the same problem.

  • I have tried removing the Unifi integration and re-adding it but the problem persists.
  • Debug Logging does not show any abnormalities.

It appears that the switch mechanism in HA is not getting confirmation that the end device changed state and is then reverting back to the original state.

I've identified and fixed the issue. Will be resolved with 2022.11.3

@shemicohen
Copy link

Thank you!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2022
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.

6 participants