Best way to get the actual ac_power sensor value #1017
|
Hi Guys & (@WillCodeForCats ), For an automation I'm working on (Restricted Export to the Grid), I need to get the actual solaredge_ac_power sensor value for correct calculations. The automation Trigger is provided by the P1 meter every 5 sec providing the actual Power Consumption. I force the update by using the standard *.update_entity action from HA: However I see that the time to get the updated value is unpredictible and increases with successive requests (still just 1/5sec) Does/can the Integration provide any "poll on demand" option as alternative to HA's own *.update_entity action? Best Regards, PS: When done, I will share my automation here. It's fully documented :-) |
Replies: 1 comment 5 replies
|
Yes, there is a refresh now button. |
Home Assistant schedules polling/refreshes internally. The integration doesn't control that.
The refresh now button tells the home assistant coordinator that we want to do a refresh immediately rather than wait for the next polling interval. When that actually happens is up to HA.