Closed rikardronnkvist closed 3 days ago
@rikardronnkvist Checking! Which version are you using? Might be the new optional schema that is bothering packages, but that is fairly new so depending on version it might not be that
2024.11
Sorry, I meant which version of the birthdays integration do you use?
Den fre 15 nov. 2024 06:29Rikard Ronnkvist @.***> skrev:
2024.11
— Reply to this email directly, view it on GitHub https://github.com/Miicroo/ha-birthdays/issues/23#issuecomment-2477991633, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSUSBHATMIH2CUZBVUUVQT2AWBC5AVCNFSM6AAAAABRYDAMWSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZXHE4TCNRTGM . You are receiving this because you commented.Message ID: @.***>
Latest via HACS, 1.2.0
@rikardronnkvist Finally found a solution, based on an old bug in HomeAssistant that had the same problem! So it seems that the more complex schema introduced in birthdays 1.1.0 messes with the packages logic (but is fine when not using packages).
The solution is to add an extra birthdays:
-key in there, otherwise the dict won't be named.
A working schema for packages will look like this:
birthdays:
birthdays:
- name: Abc
date_of_birth: 1111-22-33
- name: Xyz
date_of_birth: 1111-22-33
Nice, that works :)
Getting this errormessage when adding the integraion as a package: Setup of package 'birthdays' failed: integration 'birthdays' cannot be merged, expected a dict
In the configuration.yaml i include my packages with
The file packages/birthdays.yaml contains
The complete errormessage:
Worked just fine until 2024.11 (or maybe it broke in 2024.10, can't really remember).