mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add Shelly UNI ADC sensor (#43490)
This commit is contained in:
parent
ebaf143cf6
commit
b7f36106df
@ -158,6 +158,12 @@ SENSORS = {
|
|||||||
"Operational hours": round(block.totalWorkTime / 3600, 1)
|
"Operational hours": round(block.totalWorkTime / 3600, 1)
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
("adc", "adc"): BlockAttributeDescription(
|
||||||
|
name="ADC",
|
||||||
|
unit=VOLT,
|
||||||
|
value=lambda value: round(value, 1),
|
||||||
|
device_class=sensor.DEVICE_CLASS_VOLTAGE,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
REST_SENSORS = {
|
REST_SENSORS = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user