-
-
Notifications
You must be signed in to change notification settings - Fork 92
[bug] with custom device thermostat, "Cannot read property 'value_id' of undefined" #841
Comments
@pdbogen Are you sure all your valueIds exists? Also here you are missing the "setpoint_topic": {
"Cool": "67-1-2",
"Heat": "67-1-1",
"Auto": "67-1-X"
}, |
oh, good call. I gather I also need one for |
Nope that't the only one that doesn't need a setpoint |
Having the same issue with the same versions as the OP and didn't want to report a duplicate issue. Although this is the first I'm trying so I can't speak to if this would have worked in the past.
On a side note, the error logging for this method is pretty unhelpful. There's a single try/catch wrapping the entire method. |
@doguitar In zwavejs2mqtt now climates are auto discovered: https://github.com/zwave-js/zwavejs2mqtt |
What's the purpose/objective of the fork? Besides devices support (which is pretty major), why should I switch? |
It's explained here: https://github.com/zwave-js/zwavejs2mqtt#why-zwavejs |
Version
Build/Run method
Zwave2Mqtt version: 4.0.6
Openzwave Version: 1.6.0
Describe the bug
This worked alright in 4.0.5, but in 4.0.6 my custom device config for my thermostat is not correctly producing HA thermostat devices.
I see this in the logs:
Here's my
customDevices.json
:The text was updated successfully, but these errors were encountered: