mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Remove "max_current" from TechnoVE sensors (#108898)
This commit is contained in:
parent
dff5e45761
commit
b91e9edd16
@ -57,15 +57,6 @@ SENSORS: tuple[TechnoVESensorEntityDescription, ...] = (
|
|||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
value_fn=lambda station: station.info.voltage_out,
|
value_fn=lambda station: station.info.voltage_out,
|
||||||
),
|
),
|
||||||
TechnoVESensorEntityDescription(
|
|
||||||
key="max_current",
|
|
||||||
translation_key="max_current",
|
|
||||||
native_unit_of_measurement=UnitOfElectricCurrent.AMPERE,
|
|
||||||
device_class=SensorDeviceClass.CURRENT,
|
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
|
||||||
entity_category=EntityCategory.DIAGNOSTIC,
|
|
||||||
value_fn=lambda station: station.info.max_current,
|
|
||||||
),
|
|
||||||
TechnoVESensorEntityDescription(
|
TechnoVESensorEntityDescription(
|
||||||
key="max_station_current",
|
key="max_station_current",
|
||||||
translation_key="max_station_current",
|
translation_key="max_station_current",
|
||||||
|
@ -32,9 +32,6 @@
|
|||||||
"voltage_out": {
|
"voltage_out": {
|
||||||
"name": "Output voltage"
|
"name": "Output voltage"
|
||||||
},
|
},
|
||||||
"max_current": {
|
|
||||||
"name": "Max current"
|
|
||||||
},
|
|
||||||
"max_station_current": {
|
"max_station_current": {
|
||||||
"name": "Max station current"
|
"name": "Max station current"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user