core: Lifx integration hhas stopped working shortly after installing 2021.9.3
The problem
Last night, home assistant stopped being able to talk to all my lights. I suspect this may be related to upgrading to 2021.09.03 (I am running in docker, and use watchtower to upgrade my containers automatically). Restarting does not bring the lights back. They continue to be on the network and accessible using my flic buttons so I am confident that the problem is to to with home assistant. I have log entries as follows:
2021-09-05 09:41:58 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.study
Nothing else useful appears to be in the logs, and all the lights are showing as “unavailable” in Lovelace.
What is version of Home Assistant Core has the issue?
core-2021.9.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Lifx
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lifx/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
2021-09-05 09:41:58 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.study
Additional information
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 29 (10 by maintainers)
I’ve fixed the issue on my end and will recap what I have running now that works:
eth0
is in the “home” zone for firewalld.firewall-cmd --permanent --zone=home --add-source-port=56700/udp
firewall-cmd --reload
Thanks for your help, @amelchio 👍🏻 😃
@francais01 Adding port-forwarding to Docker is not needed/possible with host networking. When you change the firewall, make sure that the filter is for source port 56700. Usually one makes rules for the destination port but that will not work with LIFX (or you can check the advanced section of the documentation to set a fixed port).