-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
AssertionError: configurations.homeassistant.packages[media_player] must be a dictionary! #159
Comments
@Sholofly moved the issue here |
My config validates fine in HA. configuration.yaml: homeassistant:
packages: !include_dir_named integrations ../integrations/automation.yaml: automation: !include ../automations.yaml |
I even removed de media_player package file (it was commented out :) and the problem still exists. |
Ok, I readded the media_player package file and uncommented the include_dir_list that points to an empty directory. Now it works. It looks like the media_player integration must be present all the time, even when you don't use it. Thats strange. |
@Sholofly can you share what you mean? How did the media player integration look like on your config? |
I'm getting a similar error |
Sorry for the late reply. I'm including packages. media_player.yaml ################################################
## Integrations / Media Player
################################################
# media_player: !include_dir_list ../entities/media_players still doesn't work. If i try to load shortumation it gives me the error on the frontend as described in #162. and in the logs: ################################################
## Integrations / Media Player
################################################
media_player: !include_dir_list ../entities/media_players does work In both cases the folder ../entities/media_players is empty Both validate fine in HA. |
the same problem this is log 👍
|
@Sholofly @barto95100 @uSlackr if you still have the issue repost logs, and confirm that you setup matches these or not (tried to reproduce the issue) https://github.com/asosnovsky/Shortumation/tree/main/api/tests/samples/config-14 |
Since the update to 0.7.6. The error message has changed to: (["automation id '1657099393999' in 'automations.yaml' was already seen before. Please check for duplicate automation ids in your files."],) I have checked and this is not a duplicate anywhere in the file. I tried changing the ID to something random and still get the duplicate error. |
I'm having the same issue. Running v7.0 on latest beta 2022.9.0b1. Installed as Add On.
I have my automation integration as a package: folder/integration.yaml in which I include the main integrations.yaml from the root of my config folder. Logging says:
Originally posted by @Sholofly in #149 (comment)
The text was updated successfully, but these errors were encountered: