Open eikowagenknecht opened 2 months ago
A similar warning
Updating state for sensor.climate (<class 'custom_components.spook.ectoplasms.homeassistant.sensor.HomeAssistantSpookSensorEntity'>) took 0.768 seconds. Please create a bug report at https://github.com/frenck/spook/issues
I was recently looking at a profile for a user and found the problem might be that when all the repairs fire and they all do a linear search of the entity registry to get the entity ids multiple times.
If the call to async_get_all_entity_ids
only happened once instead of for every repair it would mostly solve the issue
Or maybe increase the debounce time as it was firing almost every 3s on the users system
got a similar warning:
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:1161
First occurred: 9:47:19 AM (1 occurrences)
Last logged: 9:47:19 AM
Updating state for sensor.weather (<class 'custom_components.spook.ectoplasms.homeassistant.sensor.HomeAssistantSpookSensorEntity'>) took 0.617 seconds. Please create a bug report at https://github.com/frenck/spook/issues
@robinhood-code That was already reported above. You could consider just adding a 👍 to the start topic, instead repeating the same message 😉
What version of Spook are you using?
2.2.2
What version of Home Assistant are you using?
2024.2.2
The problem
Getting errors in the logs.
Anything in the logs? Paste it here!