Cannot add new package

Hello, Im very new to HA, I just installed HA OS on my RPi, and I have second RPi handling irrigation, so I want to “connect” them, so firstly I installed addon “File editor” so I can access HA files, then I created config folder in root directory, in that config folder I created configuration.yaml and packages folder.

my configuration.yaml looks like:

homeassistant:
  packages: !include_dir_named packages

and in packages folder I have two files

zavlahovy_system.yaml:

input_select:
  zavlahovy_okruh:
    name: Zavlažovací okruh
    options:
      - "Záhrada"
      - "Trávnik"
      - "Okrasné rastliny"
    initial: "Záhrada"
    icon: mdi:sprinkler-variant

input_number:
  zavlahove_minuty:
    name: Trvanie zavlažovania
    initial: 10
    min: 1
    max: 60
    step: 1
    unit_of_measurement: "min"

script:
  manualna_zavlaha:
    alias: Manuálna zavlažovacia požiadavka
    sequence:
      - variables:
          okruh: >
            {% set mapping = {"Záhrada": 1, "Trávnik": 2, "Okrasné rastliny": 3} %}
            {{ mapping[states('input_select.zavlahovy_okruh')] }}
          trvanie: "{{ states('input_number.zavlahove_minuty') | int }}"
      - service: rest_command.spusti_zavlahu
        data:
          okruh: "{{ okruh }}"
          trvanie: "{{ trvanie }}"
      - service: logbook.log
        data:
          name: "Závlaha"
          message: "Spustená manuálna závlaha pre okruh {{ okruh }} na {{ trvanie }} minút."

rest_command:
  spusti_zavlahu:
    url: "http://192.168.1.10/spusti?okruh={{ okruh }}&trvanie={{ trvanie }}"
    method: get
    verify_ssl: false

and zavlahovy_system_weather.yaml:

automation:
  - alias: "Zavlažovanie podľa počasia"
    trigger:
      - platform: time
        at: "06:30:00"
    condition:
      - condition: template
        value_template: >
          {% set forecast = state_attr('weather.home', 'forecast') %}
          {% if forecast %}
            {% set today = forecast[0] %}
            {% set max_temp = today.temperature | float %}
            {% set precipitation = today.precipitation | float(0) %}
            {% set precipitation_probability = today.precipitation_probability | float(0) %}
            {% set day = now().day %}
            {% set hot = max_temp >= 30 %}
            {% set mild = max_temp < 30 and (day % 2 == 1) %}
            {% set rain_expected = precipitation_probability > 70 and precipitation > 2 %}
            {{ (hot or mild) and not rain_expected }}
          {% else %}
            false
          {% endif %}
    action:
      - variables:
          forecast: "{{ state_attr('weather.home', 'forecast') }}"
          today: "{{ forecast[0] }}"
          precipitation: "{{ today.precipitation | float(0) }}"
          precipitation_probability: "{{ today.precipitation_probability | float(0) }}"
          okruh_map:
            Záhrada: 1
            Trávnik: 2
            Okrasné rastliny: 3
          okruh_nazov: "Záhrada"
          okruh_cislo: "{{ okruh_map[okruh_nazov] }}"
          trvanie: 15
      - choose:
          - conditions:
              - condition: template
                value_template: >
                  {{ precipitation_probability > 70 and precipitation > 2 }}
            sequence:
              - service: logbook.log
                data:
                  name: Zavlažovanie
                  message: "Zavlažovanie zrušené kvôli očakávanému dažďu – {{ precipitation_probability }} % / {{ precipitation }} mm."
                  domain: automation
          - default:
              - service: rest_command.spusti_zavlahu_json
                data:
                  okruh: "{{ okruh_cislo }}"
                  trvanie: "{{ trvanie }}"
              - wait_for_trigger:
                  - platform: event
                    event_type: rest_command_response
                    event_data:
                      command: rest_command.spusti_zavlahu_json
                timeout: "00:00:10"
                continue_on_timeout: false
              - variables:
                  response: "{{ wait.trigger.event.data.response | default('{}') | from_json }}"
              - choose:
                  - conditions:
                      - condition: template
                        value_template: "{{ response.status == 'success' }}"
                    sequence:
                      - service: logbook.log
                        data:
                          name: Zavlažovanie
                          message: "Automatické zavlažovanie – Okruh: {{ okruh_nazov }}, trvanie: {{ trvanie }} min."
                          domain: automation
                  - default:
                      - service: persistent_notification.create
                        data:
                          title: "⚠️ Automatické zavlažovanie zlyhalo"
                          message: "Status: {{ response.status | default('neznámy') }}"

then I went do developers tools, checked config files, everything seems right, so I restarted whole HA OS, and in states in dev tools I still dont have input_select, input_number, and so on, so package wasnt loaded, when I go to settings and logs I see “There are no new issues!”

what is issue?

This shouldn’t be needed…
I don’t understand 'connecting ras-pi’s either.

If you installed HAOS, there should be a /homeassistant folder or /config folder already. That is where packages goes. The 2nd pi has nothing to do with the one you loaded HAOS on.

I know that second RPi has nothing to do with it, I just wrote it for the context, ah so /config folder is not needed, I read on internet that packages should be in /config, so I will try

On new installs is should be /homeassistant which replaces /config. Either way you don’t make a new folder. it goes where all the other homeassistant related stuff goes.

This should work if your packages folder is in /config.

But I don’t understand what you are trying to do.

I think its solved, if I created packages in root folder it loads now, because I got some errors :smiley: basically I want HA to control irrigation based on weather using API calls on my second RPi, where is running API server for that