britkat1980 / giv_tcp

TCP connection (from inverter) and MQTT implementation
71 stars 32 forks source link

"Enable discharge" control partially not working #96

Closed Adrian57 closed 11 months ago

Adrian57 commented 11 months ago

When used as a GUI control (forgive me, I don't know the correct terminology) i.e. a toggle switch - this control appears to work by remembering the "Battery power reserve" setting and then setting it to 100% when turning the toggle ON. When turning the toggle OFF it recalls the remembered setting of Battery Power Reserve.

... or it used to...

Now, it works when toggling it OFF (and sets the power reserve to 100%) but it can no longer be toggled ON again.

It works in an automation and properly sets or resets the power reserve (to remembered state) but if interrogated in a condition such as...

condition: state entity_id: switch.givtcp_sa2236g166_enable_discharge state: 'on'

...it fails to execute and the error "This node was not executed and so no further trace information is available." is issued in the trace.

Adrian57 commented 11 months ago

Please ignore. It seems to have righted itself. Very odd.