Add vicare buffer top/main temperature sensors (#79466)
Co-authored-by: Franck Nijhof <frenck@frenck.nl> fixes undefinedpull/86079/head
parent
566c0f63bd
commit
1e9de194d3
|
@ -452,6 +452,22 @@ GLOBAL_SENSORS: tuple[ViCareSensorEntityDescription, ...] = (
|
|||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
),
|
||||
ViCareSensorEntityDescription(
|
||||
key="buffer top temperature",
|
||||
name="Buffer top temperature",
|
||||
native_unit_of_measurement=TEMP_CELSIUS,
|
||||
value_getter=lambda api: api.getBufferTopTemperature(),
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
ViCareSensorEntityDescription(
|
||||
key="buffer main temperature",
|
||||
name="Buffer main temperature",
|
||||
native_unit_of_measurement=TEMP_CELSIUS,
|
||||
value_getter=lambda api: api.getBufferMainTemperature(),
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
)
|
||||
|
||||
CIRCUIT_SENSORS: tuple[ViCareSensorEntityDescription, ...] = (
|
||||
|
|
Loading…
Reference in New Issue