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

Unable to find action with the name 'priority' #112

Open
bjeanes opened this issue Dec 10, 2024 · 1 comment · May be fixed by #113
Open

Unable to find action with the name 'priority' #112

bjeanes opened this issue Dec 10, 2024 · 1 comment · May be fixed by #113

Comments

@bjeanes
Copy link

bjeanes commented Dec 10, 2024

ESPhome seems unwilling to compile the current configs for athom smart plugs due to this line:

- priority: 600

This is the error that gets raised:

Screenshot 2024-12-11 at 9 01 49 am

I'm not sure why since the docs to mention supporting a priority key, however their examples do not pass an array to on_boot, so perhaps this is part of the issue.

Unfortunately I'm not sure when this regressed as I am trying to compile with the latest but the most recent version I previously flashed was 2024.07.x

@bjeanes bjeanes linked a pull request Dec 10, 2024 that will close this issue
@bjeanes
Copy link
Author

bjeanes commented Dec 10, 2024

Confirmed that the array syntax to on_boot seems to be the issue. Changing it to an object (which seems fine, since this config isn't performing multiple actions anyway) fixed the issue for me and I have opened #113

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

Successfully merging a pull request may close this issue.

1 participant