If you’re using Home Assistant and you’re having trouble getting your frontend to update when an automation turns off a light, there are a few things you can check.
First, make sure that the automation is actually turning off the light. You can do this by checking the logs in Home Assistant. If the light is being turned off, you should see a log entry that says “Automation turned off light.”
If you don’t see that log entry, then the automation isn’t working correctly and you’ll need to fix it.
Once you’ve confirmed that the automation is working, the next thing to check is the frontend itself. If you’re using the built-in Home Assistant frontend, make sure that you’ve added the light to the list of entities that should be updated. You can do this by going to the “Configure” tab and then scrolling down to the “Customize Entities” section.
If you’re using a different frontend, such as the iOS app, then you’ll need to check the documentation for that frontend to see how to add entities.
Once you’ve added the light to the list of entities that should be updated, the frontend should update when the automation turns off the light.
Other related questions:
How do I check for updates on Home Assistant?
To check for updates on Home Assistant, you can either use the built-in updater within the Assistant itself, or you can manually check for updates by visiting the Home Assistant website.
How do I enable advanced settings on Home Assistant?
Click on the Home Assistant icon in the upper left corner of the screen.
Click on the “Settings” tab.
Click on the “Advanced” tab.
Check the box next to “Enable advanced settings”.
How often do Sensors update Home Assistant?
The answer to this question depends on the particular sensor and the Home Assistant configuration. Some sensors may update only when queried, while others may update automatically on a regular basis.
How long does it take to restart Home Assistant?
Home Assistant can take a minute or two to restart.
Bibliography
- Simple light on / light off not working 🙁 – Configuration
- Automations turning off randomly – Home Assistant Community
- What the heck turned my light on? – Home Assistant Community
- Simple Automations Don’t Work – Home Assistant Community
- Issue with switches after update – Home Assistant Community
- Tuya lights/switches delay in updating states, is it only me?
- Lamp not on with motion automation – Frontend