Closed bob-tm closed 2 years ago
This should only occur of you reference an entity that doesn't exist, not if the entity was just Unavailable
It's exists, but unavailable. Wled entity. Anyway, if it doesn't exists - it will break any presence simulation. If groups were created long time ago - it is very difficulty to identify what is broken, because HA UI do not show any problems with presence simulation group.
Ok I understand. I can keep the ERROR log, remove the Exception, and just check that there is at least a valid entity before launching the simulation
custom_components\presence_simulation__init__.py I just commented line 115 raise Exception("Entity is not known by HA, see log for more details")
If one entity is Unavailable - then loop breaks by raise Exception, so presence simulation not working. Please check all code for this situation.