When fetching energy state or forecast data from Home Assistant, if any single configured entity returns a state of unavailable or unknown, the entire request produces no results — even though all other entities returned valid data. This causes the optimization process to skip the cycle entirely (or a realtime data update to the frontend to be blocked), despite having enough information to make a decision.