On my maker api URL (hubitat-ip/apps/api/77/devices/11/capabilities
), I see:
{"name":"Wally MultiSensor","label":"Basement bathroom sink","type":"Wally MultiSensor","id":"11","date":null,"model":null,"manufacturer":null,"room":null,"capabilities":["RelativeHumidityMeasurement","MotionSensor","Configuration","Refresh","Battery","WaterSensor","TemperatureMeasurement","Sensor"],"attributes":{"humidity":"54","dataType":"NUMBER","values":null,"battery":"100","water":"dry","motion":null,"temperature":"66.31"},"commands":[{"command":"configure"},{"command":"refresh"}]}
But when I go to view device information at hubitat-ip/device/edit/11
, I see:
* endpointId: **01**
* application: **00**
* capabilities: **{"components":[{"attributes":{"humidity":{"enumCommands":[],"schema":{"additionalProperties":false,"properties":{"unit":{"default":"%","enum":["%"],"type":"string"},"value":{"maximum":100,"minimum":0,"type":"number"}},"required":["value"],"title":"Percent","type":"object"}}},"commands":{},"ephemeral":false,"id":"relativeHumidityMeasurement","name":"Relative Humidity Measurement","status":"live","version":1},{"attributes":{"battery":{"enumCommands":[],"schema":{"additionalProperties":false,"properties":{"unit":{"default":"%","enum":["%"],"type":"string"},"value":{"maximum":100,"minimum":0,"type":"integer"}},"required":["value"],"title":"IntegerPercent","type":"object"}}},"commands":{},"ephemeral":false,"id":"battery","name":"Battery","status":"live","version":1},{"attributes":{"temperature":{"enumCommands":[],"schema":{"additionalProperties":false,"properties":{"unit":{"enum":["F","C"],"type":"string"},"value":{"maximum":10000,"minimum":-460,"title":"TemperatureValue","type":"number"}},"required":["value","unit"],"type":"object"}},"temperatureRange":{"enumCommands":[],"schema":{"additionalProperties":false,"properties":{"unit":{"enum":["F","C"],"type":"string"},"value":{"additionalProperties":false,"properties":{"maximum":{"maximum":10000,"minimum":-460,"title":"TemperatureValue","type":"number"},"minimum":{"maximum":10000,"minimum":-460,"title":"TemperatureValue","type":"number"},"step":{"maximum":10000,"minimum":-460,"title":"TemperatureValue","type":"number"}},"required":["minimum","maximum"],"type":"object"}},"required":["value","unit"],"type":"object"}}},"commands":{},"ephemeral":false,"id":"temperatureMeasurement","name":"Temperature Measurement","status":"live","version":1},{"attributes":{"water":{"enumCommands":[],"schema":{"additionalProperties":false,"properties":{"value":{"enum":["dry","wet"],"title":"MoistureState","type":"string"}},"required":["value"],"type":"object"}}},"commands":{},"ephemeral":false,"id":"waterSensor","name":"Water Sensor","status":"live","version":1}]}**
* status: {"components":{"main":{"battery":{"battery":{"timestamp":"2024-08-19T22:59:03.950Z","unit":"%","value":100}},"relativeHumidityMeasurement":{"humidity":{"timestamp":"2024-08-19T22:59:02.143Z","unit":"%","value":50}},"temperatureMeasurement":{"temperature":{"timestamp":"2024-08-19T22:59:02.174Z","unit":"F","value":70},"temperatureRange":{"timestamp":"2024-08-19T22:58:56.743Z","unit":"F","value":{"maximum":2062.618031052927,"minimum":-175.70433435576444,"step":9412.28362744926}}},"waterSensor":{"water":{"timestamp":"2024-08-19T22:59:03.142Z","value":"dry"}}}}}
It seems maker API for some reason is advertising a MotionSensor
capability, even though there isn't one
As an additional ask, would it be possible to add a config to maker api to mask specific capabilities (instead of just devices?) - not only would that be handy, it would allow for fixing this issue manually (by simply masking the MotionSensor
capability)