mirror of
https://github.com/home-assistant/core.git
synced 2025-07-07 13:27:09 +00:00
Add alternative key names for Discovergy voltage sensors (#97155)
This commit is contained in:
parent
2bd6b519fa
commit
e96bff1674
@ -101,6 +101,7 @@ ELECTRICITY_SENSORS: tuple[DiscovergySensorEntityDescription, ...] = (
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_registry_enabled_default=False,
|
||||
alternative_keys=["voltage1"],
|
||||
),
|
||||
DiscovergySensorEntityDescription(
|
||||
key="phase2Voltage",
|
||||
@ -110,6 +111,7 @@ ELECTRICITY_SENSORS: tuple[DiscovergySensorEntityDescription, ...] = (
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_registry_enabled_default=False,
|
||||
alternative_keys=["voltage2"],
|
||||
),
|
||||
DiscovergySensorEntityDescription(
|
||||
key="phase3Voltage",
|
||||
@ -119,6 +121,7 @@ ELECTRICITY_SENSORS: tuple[DiscovergySensorEntityDescription, ...] = (
|
||||
device_class=SensorDeviceClass.VOLTAGE,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
entity_registry_enabled_default=False,
|
||||
alternative_keys=["voltage3"],
|
||||
),
|
||||
# energy sensors
|
||||
DiscovergySensorEntityDescription(
|
||||
|
Loading…
x
Reference in New Issue
Block a user