Hi Dave,
Yes you are absolutely right. It was due to Fox Cloud.
Today the inverter decided to stay online and another special case occurred but luckily you have already placed guard rails to handle such situations.
So as the inverter state is still online, the StateTest is still showing "1" even at 10PM in the night, however, we also have a check on the Running state, and as the inverter moved to Waiting, the Load Power stopped populating data.
Even though Fox Cloud website shows last pull at 6.35PM, we agreed that it may do another sneaky pull in the background, so HA recorded last value at 6.45PM and then moved to Waiting -> Unknown. One thing to note is that the Running state changed to Waiting at 6.40PM and Load power shows last value populated at 6.45PM, but as the fetch duration is 5mins, I could expect that the value populated at 6.45PM is indeed the "last" one.
In Summary, no red flags, just posting for your awareness & acknowledgement
Screenshots & Logs below:
[2025-03-06 21:59:38.790 DEBUG (MainThread) [custom_components.foxess.sensor] OA Device Detail System has No Battery: False
[2025-03-06 21:59:40.791 DEBUG (MainThread) [custom_components.foxess.sensor] Statetest 1
[2025-03-06 21:59:40.791 DEBUG (MainThread) [custom_components.foxess.sensor] getRaw OA request: {"sn":"603T*******" }
[2025-03-06 21:59:41.558 DEBUG (MainThread) [custom_components.foxess.sensor] OA Variables time: 2025-03-06 18:35:56 PKT+0500
[2025-03-06 21:59:41.564 DEBUG (MainThread) [custom_components.foxess.sensor] OA Variables tsrcv stamp: 1741268156.0, offset: 18000
[2025-03-06 21:59:41.564 DEBUG (MainThread) [custom_components.foxess.sensor] OA Variables time: 2025-03-06 18:35:56 PKT+0500 timestamp rcv:1741268156.0
[2025-03-06 21:59:41.564 DEBUG (MainThread) [custom_components.foxess.sensor] OA Variables time: 2025-03-06 18:35:56 PKT+0500 vs 2025-03-06 21:59:41.564827 timestamps r:1741268156.0 now:1741280382, age: 12226
[2025-03-06 21:59:41.564 DEBUG (MainThread) [custom_components.foxess.sensor] OA Variables invalid age: 2025-03-06 18:35:56 PKT+0500 vs 2025-03-06 21:59:41.564827 timestamps r:1741268156.0 now:1741280382, age: 12226
[2025-03-06 21:59:41.565 DEBUG (MainThread) [custom_components.foxess.sensor] OA Variables Good Response: [{'unit': 'kW', 'name': 'Load Power', 'variable': 'loadsPower', 'value': 0.362}
Inverter Status
Running State
Load Power Values