mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix invalid constant in vicare (#86079)
This commit is contained in:
parent
b7f484a84f
commit
8e7e210693
@ -455,7 +455,7 @@ GLOBAL_SENSORS: tuple[ViCareSensorEntityDescription, ...] = (
|
|||||||
ViCareSensorEntityDescription(
|
ViCareSensorEntityDescription(
|
||||||
key="buffer top temperature",
|
key="buffer top temperature",
|
||||||
name="Buffer top temperature",
|
name="Buffer top temperature",
|
||||||
native_unit_of_measurement=TEMP_CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
value_getter=lambda api: api.getBufferTopTemperature(),
|
value_getter=lambda api: api.getBufferTopTemperature(),
|
||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
@ -463,7 +463,7 @@ GLOBAL_SENSORS: tuple[ViCareSensorEntityDescription, ...] = (
|
|||||||
ViCareSensorEntityDescription(
|
ViCareSensorEntityDescription(
|
||||||
key="buffer main temperature",
|
key="buffer main temperature",
|
||||||
name="Buffer main temperature",
|
name="Buffer main temperature",
|
||||||
native_unit_of_measurement=TEMP_CELSIUS,
|
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
|
||||||
value_getter=lambda api: api.getBufferMainTemperature(),
|
value_getter=lambda api: api.getBufferMainTemperature(),
|
||||||
device_class=SensorDeviceClass.TEMPERATURE,
|
device_class=SensorDeviceClass.TEMPERATURE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user