mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Fix Shelly humidity sensor available condition (#57721)
This commit is contained in:
parent
e7e88d6a19
commit
9000e5b2d9
@ -185,7 +185,7 @@ SENSORS: Final = {
|
||||
value=lambda value: round(value, 1),
|
||||
device_class=sensor.DEVICE_CLASS_HUMIDITY,
|
||||
state_class=sensor.STATE_CLASS_MEASUREMENT,
|
||||
available=lambda block: cast(int, block.extTemp) != 999,
|
||||
available=lambda block: cast(int, block.humidity) != 999,
|
||||
),
|
||||
("sensor", "luminosity"): BlockAttributeDescription(
|
||||
name="Luminosity",
|
||||
|
Loading…
x
Reference in New Issue
Block a user