mletenay / home-assistant-goodwe-inverter

Experimental version of Home Assistant integration for Goodwe solar inverters
https://discord.gg/TaXyWXT
MIT License
146 stars 38 forks source link

GoodWe Inverter operation mode is not read from the inverter #261

Closed jebeke65 closed 4 months ago

jebeke65 commented 6 months ago

Hi,

Apparently the "GoodWe Inverter operation mode" does not fetch the mode from the invertor. Is this by design ? It happens that I set the operation mode but that it is not 'accepted' by the inverter, which then remains in the previous state. This gives a mismatch between the mode in HA and the mode in the inverter.

Jan

mletenay commented 5 months ago

https://github.com/home-assistant/core/issues/116706

mletenay commented 4 months ago

The "settings" values are not automatically refreshed by design, but since v0.9.9.18 all entities can be explicitly refreshed by _homeassistant.updateentity service. If it is needed regularly, one can create and automation like this:

trigger:
  - platform: time_pattern
    minutes: "5"
condition: []
action:
  - service: homeassistant.update_entity
    target:
      entity_id: number.depth_of_discharge_on_grid
    data: {}
mode: single