mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Add ViCare additional temperature sensors (#72792)
This commit is contained in:
parent
cc807b4d59
commit
14030991cf
@ -77,6 +77,22 @@ GLOBAL_SENSORS: tuple[ViCareSensorEntityDescription, ...] = (
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
ViCareSensorEntityDescription(
|
||||
key="boiler_supply_temperature",
|
||||
name="Boiler Supply Temperature",
|
||||
native_unit_of_measurement=TEMP_CELSIUS,
|
||||
value_getter=lambda api: api.getBoilerCommonSupplyTemperature(),
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
ViCareSensorEntityDescription(
|
||||
key="hotwater_out_temperature",
|
||||
name="Hot Water Out Temperature",
|
||||
native_unit_of_measurement=TEMP_CELSIUS,
|
||||
value_getter=lambda api: api.getDomesticHotWaterOutletTemperature(),
|
||||
device_class=SensorDeviceClass.TEMPERATURE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
),
|
||||
ViCareSensorEntityDescription(
|
||||
key="hotwater_gas_consumption_today",
|
||||
name="Hot water gas consumption today",
|
||||
|
Loading…
x
Reference in New Issue
Block a user