mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Fix incorrect enum option in Hive heating sensor (#122496)
* add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add missing sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * add temperature and mode sensors * Fix defect with Hive heating sensor options
This commit is contained in:
parent
67f7e97b4c
commit
6dd43be6ac
@ -74,7 +74,7 @@ SENSOR_TYPES: tuple[HiveSensorEntityDescription, ...] = (
|
||||
HiveSensorEntityDescription(
|
||||
key="Heating_Mode",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
options=["schedule", "on", "off"],
|
||||
options=["schedule", "manual", "off"],
|
||||
translation_key="heating",
|
||||
fn=lambda x: x.lower() if isinstance(x, str) else None,
|
||||
),
|
||||
|
@ -105,7 +105,7 @@
|
||||
"sensor": {
|
||||
"heating": {
|
||||
"state": {
|
||||
"on": "[%key:common::state::on%]",
|
||||
"manual": "Manual",
|
||||
"off": "[%key:common::state::off%]",
|
||||
"schedule": "Schedule"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user