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

Switching on/off in the Dashboard is always successful, which may be inconsistent with the actual status of the device. #22302

Open
1020844469 opened this issue Apr 24, 2024 · 1 comment
Labels
problem Something isn't working

Comments

@1020844469
Copy link

What happened?

In 1.33 and previous versions, when on the Dashboard page, I switch a certain device, such as a light, on/off, the switch can only be successful if the light is actually turned on, but from 1.34 to the latest version
1.36.1, even if it is an offline light, if I switch its on/off, it will be switched successfully, but in fact this light cannot be controlled at all. This will cause the status displayed in the Dashboard to be inconsistent with the actual status.

What did you expect to happen?

When switching the status of a device in the Dashboard, success will only be displayed when the status of the device actually changes.

How to reproduce it (minimal and precise)

For example, there is an offline device in the Dashboard whose status is off. Now switch its status to on. The switch will be successful. The status will become on, but it is impossible to switch successfully if the offline device is displayed.

Zigbee2MQTT version

1.36.1

Adapter firmware version

20221226

Adapter

SONOFF CC2652P Zigbee 3.0 USB Dongle Plus

Setup

Tested with add-on and docker, both are the same

Debug log

No response

@1020844469 1020844469 added the problem Something isn't working label Apr 24, 2024
@1020844469
Copy link
Author

1020844469 commented Apr 24, 2024

It seems related to this issue: #22126
However, controlling onoff in the device's exposes page is still the same as the problem I described. Switching to an offline device still succeeds, but obviously the offline device cannot be controlled, which means that this control result is still not the real result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant