Closed b1lei closed 1 year ago
Please share the output of your grid connected status sensor: sensor.deye_m01_grid_connected_status
The card expects a value of on
/off
or 1
/0
. if no sensor is provided it will default to ON
I have 2xDeye 3P 12kw
id: 2709321466 integration: solarman icon: '' friendly_name: DEYE_M01 Grid-connected Status
- name: "Grid-connected Status"
class: ""
state_class: ""
uom: ""
scale: 1
rule: 1
registers: [0x00C2]
isstr: true
lookup:
- key: 1
value: "On-Grid"
- key: 0
value: "Off-Grid"
The problem is the sensor is not sending the expected data. The work around is to create a template sensor but let me look at adding this to the code
Is there an existing issue for this?
Current Behavior
When grid ON it displays icon OFF grid. When no sensor attached to the card it displays ON grid.
Steps To Reproduce
No response
Expected behaviour
icon mismatch
Card Version
2.2
Home Assistant Version
10.4
Configuration
Relevant log output
No response