-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
ZWave devices changed from switch / light to window cover #117121
Comments
Hey there @home-assistant/z-wave, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zwave_js documentation |
Major loss of functionality in my home assistant with 20+ devices reporting configuration file changed under repair. All lights changed to covers. Zwavejs device database appears to have bad interview data? Reinterviewing all nodes results in covers, individually interviewing a device corrects the problem .... zwave-js-ui: 9.10.2.68fdf4d |
please provide a diagnostics dump of a device that has the correct entities and a dump of one that does not so that we can try to find the difference |
Same happened here after update from 2024.5.1 to 2024.5.2. Going back bo 2024.5.0 doesn't resolve this issue. Reinterviewing in zwavejs2mqtt fixes the issue - so my guess is that this is not an HA issue. For me it might be coincidental with a Z2M update. |
zwave_js-b995ecd3f664ce2a03a3e5682581d9b6-Bar Display Cases-0b77ec3a843e082d838ea0eadcd63f48-2.json here are both - the |
@spikenheimer Thanks for the diagnostics. The existence of the The source of the problem is the value device class property that HA receives. Good: "deviceClass": {
"basic": {
"key": 4,
"label": "Routing Slave"
},
"generic": {
"key": 17,
"label": "Multilevel Switch"
},
"specific": {
"key": 1,
"label": "Multilevel Power Switch"
}, Bad: "deviceClass": null, The bad case has never occurred before, so it wasn't being checked. |
This is a bug in the driver, where the device class gets unintentionally deleted. Fix is up at zwave-js/node-zwave-js#6840, and I'll push a hotfix ASAP. Edit: 12.7.0 is building now. |
@raman325 @MartinHjelmare do we need a repair to re-interview the device in this case? Device class shouldn't be undefined unless the node is new and waiting to be interviewed. |
The problem
concurrent to either an upgrade from 2024.4.4 to 2024.5.2 all 57 of my leviton z-wave dimmer switches, various Aeotec and Minostan (not all) switched plugs and my 3 Fibaro RGBW controllers all got switched from light devices to window / covers in HA. zwaveJS still shows them correctly, and the resolution (at least temporarily bc it seems to have reset itself in the last 8 hours) was to in HA go into the wave device and ask for a ZWave Re-Interview. once that completed i could delete the cover entity and the light entity returned.
What version of Home Assistant Core has the issue?
core-2024.5.2
What was the last working version of Home Assistant Core?
core-2024.4.4
What type of installation are you running?
Home Assistant Core
Integration causing the issue
Z-Wave JS
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zwave_js/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: