Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Already running" warnings #29

Open
baurmatt opened this issue Feb 2, 2021 · 2 comments
Open

"Already running" warnings #29

baurmatt opened this issue Feb 2, 2021 · 2 comments

Comments

@baurmatt
Copy link

baurmatt commented Feb 2, 2021

The HA log get's spammed with the following error after enabling this package:

WARNING (MainThread) [homeassistant.components.automation.battery_sensor_from_attributes] battery_sensor_from_attributes: Already running

I think this is due to the new automation running mode feature in HA > 0.113 -> https://www.home-assistant.io/blog/2020/07/22/release-113/#automations--scripts-running-modes

I currently use HA 2021.1.5.

@jonwaland
Copy link

add mode: queued to the battery_sensor_from_attributes automation.

@SamuelCarson
Copy link

If you add Mode: to the battery_sensor_from_attributes automation, then you trade the "Already running" warnings for the Maximum number of runs exceeded warnings when the number of queued automations exceeds the maximum allowed. Better the user mode: single and fix the recurring invocations of battery_sensor_from_attributes automation. That way only one automation runs. This is probably enough since the battery_sensor_from_attributes automation runs every minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants