Config File: Document device's unusual behavior #7508
Unanswered
ImSorryButWho
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to write a config file for the new Ezlo Thermostat (manual at https://shop.ezlo.com/wp-content/uploads/Ezlo_Thermostat_Full_Manual_11052024.pdf). There's a couple of things I'm not sure how to properly include.
First, all the "setpoint" config parameters have a different default value depending on the setting of parameter #1 (temperature unit). The linter demands a default value, but I don't see any way to set it conditionally.
Second, parameters 58-141 (for individual day scheduling) are ignored in favor of parameters 46-57 (for Monday-Sunday scheduling) if the default flag on the parameter is set (i.e. it was never set, or has been explicitly reset to default). The manual doesn't actually explain that part, but I confirmed it after a bunch of back-and-forth with their support. What's the best way to document that behavior? My thought right now is to put "Ignored unless explicitly set to a value" in the description, but I'm not sure if that's clear.
Thanks for any insight. My config file in progress is at https://github.com/ImSorryButWho/node-zwave-js/blob/ezlothermostat/packages/config/config/devices/0x025b/ezlothermostat.json
Beta Was this translation helpful? Give feedback.
All reactions