slipx06 / sunsynk-power-flow-card

⚡A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.
MIT License
161 stars 48 forks source link

max_sell_power sensor - enable/disable (goodwe, may be other) #412

Closed mamo-nick closed 2 months ago

mamo-nick commented 2 months ago

Is there an existing issue for this?

Current Behavior

Power Limit must be enabled to use the max sell power value. If it is not on, the set value is not worked with. Only when it is turned on, then it follows the set value. This is not taken into account in the graph.

Expected behaviour

If Power limit is on, then the value will be colored, otherwise gray.

Possible Solutions

New sensor e.g. power_limit_switch (or power_limit_mode) wil be created If the sensor is not defined by the user, then the value of max_sell_power will be colored. If defined, then:

https://en.goodwe.com/Ftp/EN/Downloads/User%20Manual/GW_SolarGo_User%20Manual-EN.pdf see page 36

Mode

Both

Context / Reason

better information for users

slipx06 commented 2 months ago

Hi.

The card has support for this. You can use the solar_sell_247 entity i.e. solar_sell_247: switch.sunsynk_toggle_solar_sell. It will add an icon shown in the screenshot below. I like the idea of colouring the max_sell_power grey when disabled. The icon has a line through when off as well

image

mamo-nick commented 2 months ago

Hi, so, that sensor exists. That's nice. Just finish the coloring to gray ;) Thanks

slipx06 commented 2 months ago

Added to 4.35.0