mirror of
https://github.com/home-assistant/core.git
synced 2026-04-06 23:47:33 +00:00
Missing state for inverter state sensor in Imeon inverter (#151493)
Co-authored-by: TheBushBoy <theodavid@icloud.com>
This commit is contained in:
@@ -9,6 +9,7 @@ PLATFORMS = [
|
||||
]
|
||||
ATTR_BATTERY_STATUS = ["charging", "discharging", "charged"]
|
||||
ATTR_INVERTER_STATE = [
|
||||
"not_connected",
|
||||
"unsynchronized",
|
||||
"grid_consumption",
|
||||
"grid_injection",
|
||||
|
||||
@@ -91,6 +91,7 @@
|
||||
"manager_inverter_state": {
|
||||
"name": "Inverter state",
|
||||
"state": {
|
||||
"not_connected": "Not connected",
|
||||
"unsynchronized": "Unsynchronized",
|
||||
"grid_consumption": "Grid consumption",
|
||||
"grid_injection": "Grid injection",
|
||||
|
||||
@@ -1351,6 +1351,7 @@
|
||||
'area_id': None,
|
||||
'capabilities': dict({
|
||||
'options': list([
|
||||
'not_connected',
|
||||
'unsynchronized',
|
||||
'grid_consumption',
|
||||
'grid_injection',
|
||||
@@ -1392,6 +1393,7 @@
|
||||
'device_class': 'enum',
|
||||
'friendly_name': 'Imeon inverter Inverter state',
|
||||
'options': list([
|
||||
'not_connected',
|
||||
'unsynchronized',
|
||||
'grid_consumption',
|
||||
'grid_injection',
|
||||
|
||||
Reference in New Issue
Block a user