Skip to content

Commit

Permalink
Fix LQI display
Browse files Browse the repository at this point in the history
LQI isn't a percentage. Algorithm used to calculate it is Zigbee stack specific. The Zigbee stack inside the Glowmarkt IHD can return values over 100. 

"han":{"rssi":-66,"status":"joined","lqi":136}
  • Loading branch information
trejan authored Aug 31, 2022
1 parent caadede commit bfbc915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hildebrand_glow_ihd_mqtt/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{
"name": "Smart Meter IHD HAN LQI",
"device_class": None,
"unit_of_measurement": PERCENTAGE,
"unit_of_measurement": None,
"state_class": SensorStateClass.MEASUREMENT,
"entity_category": EntityCategory.DIAGNOSTIC,
"icon": "mdi:wifi-strength-outline",
Expand Down

0 comments on commit bfbc915

Please sign in to comment.