You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API complains that we're trying set set eg: battery. I believe this happens for updateSensorState as well. Also, some documentation about which things are "config" and which are "state" might be nice. I assumed sensor.on referred to state, but I guess it's actually config.
The text was updated successfully, but these errors were encountered:
The config and state are separated in the model object and the updateSensorState() is really only for CLIP sensors in practice (as there is use in tryign to update state for any other type of sensor as the sensor controls that, e.g. battery, temperature, switch that was toggled, etc...).
Can you possibly share some more context as to what you are doing that in manifesting the error (as well as the sensor that you are trying to do this with) so that I can look further into this?
So this is coming from the documentation on supported devices that Hue provides
They list battery as a configuration parameter hence why it is there...
Can you possibly provide me a dump of the raw JSON data for the sensor you have (you can clear out any sensitive values) I am only looking for the JSON structure and keys before I make a change.
The API complains that we're trying set set eg:
battery
. I believe this happens forupdateSensorState
as well. Also, some documentation about which things are "config" and which are "state" might be nice. I assumedsensor.on
referred tostate
, but I guess it's actually config.The text was updated successfully, but these errors were encountered: