mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Add Shelly UNI ADC sensor (#43490)
This commit is contained in:
@@ -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 = {
|
||||||
|
Reference in New Issue
Block a user