Don't add Fronius entities with unknown state (#62282)
This commit is contained in:
parent
37bed64607
commit
1cbcb9e2fd
3 changed files with 21 additions and 61 deletions
|
@ -148,7 +148,7 @@ INVERTER_ENTITY_DESCRIPTIONS: list[SensorEntityDescription] = [
|
|||
),
|
||||
SensorEntityDescription(
|
||||
key="current_ac",
|
||||
name="AC Current",
|
||||
name="AC current",
|
||||
native_unit_of_measurement=ELECTRIC_CURRENT_AMPERE,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
@ -163,7 +163,7 @@ INVERTER_ENTITY_DESCRIPTIONS: list[SensorEntityDescription] = [
|
|||
),
|
||||
SensorEntityDescription(
|
||||
key="current_dc_2",
|
||||
name="DC Current 2",
|
||||
name="DC current 2",
|
||||
native_unit_of_measurement=ELECTRIC_CURRENT_AMPERE,
|
||||
device_class=SensorDeviceClass.CURRENT,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue