Replies: 3 comments 6 replies
-
|
Hi everyone, I've been having the same problem since today. Is there a solution? |
Beta Was this translation helpful? Give feedback.
-
|
@Madcat71 not sure if this is even still relevant, but you would simply drop your additional Meaning: homeassistant:
packages: !include_dir_named integrationsis interpreted as: homeassistant:
packages:
modbus_sungrow:
modbus:
- modbus sensor 1
- modbus sensor 2
- ...
sensor:
- xyz
- ...
<the rest of the content of modbus_sungrow.yaml>
cheapest_hours:
<whatever is in that file>Refer to https://www.home-assistant.io/docs/configuration/packages/ and https://www.home-assistant.io/docs/configuration/splitting_configuration#example-include_dir_named for further details. |
Beta Was this translation helpful? Give feedback.
-
|
Can you share the advanced_cheapest_hours.yaml content ? There are multiple ways to include them, but it depends on the content structure. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, this is more a general question buti think you guys can help.
I need to add another package in the configuration.yaml
currently it looks lik this and integrates the integration folder for the Modbus Sungrow file
but i want to add the "cheapest_hours: !include advanced_cheapest_hours.yaml" but what ever i try i get errors of all kinds, yes i am a noob at Home Assistant yaml files. tryed google but dont get me anywhere so i will ask here :D
So how is the syntax supossed to be when i want to add multiple packages, hope you understand what i am trying to do :D
works fine
homeassistant:
packages: !include_dir_named integrations
" dosent work, tryed many variants but only get errors when i check the yaml in HA
packages:
!include_dir_named integrations
cheapest_hours: !include advanced_cheapest_hours.yaml
Beta Was this translation helpful? Give feedback.
All reactions