Symptom
The interface reports that a switch is on, while the physical load is off. Treat the mismatch as a state-authority problem before changing an automation.
Note — demonstration only: Entity names and output below are illustrative. Do not paste private tokens, addresses or logs into a public issue.
Narrow the cause
- Trigger the physical control and watch whether state changes.
- Inspect the entity’s
last_changedandlast_updatedvalues. - Compare an integration refresh with a service call.
- Check whether the device acknowledges the command or Home Assistant only assumes success.
reported state -> integration coordinator -> device acknowledgement -> physical load
Safe change
Reload only the affected integration after capturing evidence. Avoid restarting the entire system until the smaller test has ruled out a stale coordinator.
Expected output: A successful refresh makes the reported state converge with the physical state without manually forcing an entity value.
Verify
Repeat on, off and unavailable transitions. The fix is incomplete if state only recovers on the happy path.