Replies: 1 comment 8 replies
-
What does the complete device information look like? Specifically, what does it report, if anything, for units? Also, can you enable debug logging and grab a pressure change event from the log? It will look something like this:
I'm curious to see what units Hubitat is reporting for the sensor in update events. By default the integration uses millibars for a sensor's native units, so if it's not being updated by the sensor config, HA thinks whatever value it's getting from Hubitat is millibars. When HA is told to display the sensor in Pa, it will multiply it by 100 to get Pa from millibars. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running Home Assistant on a HyperV instance where it talks to three Hubitat C7 hubs. I have a pressure sensor in one of the hubs that reads in Pascals eg 158Pa but when it is displayed in Home Assistant it shows as x100 that value eg 15,800Pa. I have changed the units in HA to Hecto Pascals (hPa) and now the numeric value is correct but, of course, the units are wrong.
Here is the start of the DeviceID using the Hubitat Maker API call:
{
"id": "123",
"name": "Shelly Plus 1 Test",
"label": "0 - Furnace Room - Furnace Power",
"type": "Shelly Plus 1 v1",
"room": "0 - Furnace Room",
"attributes": [
{
"name": "pressure",
"currentValue": 157.88,
"dataType": "NUMBER"
},
and a cut and paste from the HA Sensor Card for the device:
Pressure 157.88 hPa
Is there a way to correct the numeric vale and/or the units?
Beta Was this translation helpful? Give feedback.
All reactions