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

No endities available #85

Open
PVAnfaenger opened this issue Apr 26, 2024 · 4 comments
Open

No endities available #85

PVAnfaenger opened this issue Apr 26, 2024 · 4 comments
Labels
question Further information is requested

Comments

@PVAnfaenger
Copy link

PVAnfaenger commented Apr 26, 2024

Hallo

Ich glaube ich habe ein ähnliches Problem wie der Kollege aus dem anderen Tread.
#11
Allerdings habe ich wie du auch da schon beschrieben hast noch mal das AddOn gelöscht und neu installiert. Installation läuft über HACS fehlerfrei durch.

  1. Für mich stellt sich die Frage ob die heatpump.yaml Manuell angelegt werden muss oder ob durch die Installation kommen sollte?
  2. Wenn Sie Manuell erstellt werden muss, muss diese in einen bestimmten Ordner?
  3. Für was sind die beiden folgende Verweise?

sensor: !include_dir_merge_list sensors
binary_sensor: !include_dir_merge_list binary_sensors

Screenshot File Editor

@PVAnfaenger
Copy link
Author

Hello

I forgot that the Github default language is English.

I think I have a similar problem as the colleagues from the other thread.
#11
However, as you have already described there, I have deleted the add-on again and reinstalled it. The installation runs without errors via HACS.

The question for me is whether the heatpump.yaml has to be created manually or whether it should come through the installation?
If it has to be created manually, does it have to be saved in a specific folder?
What are the following two references for?
sensor: !include_dir_merge_list sensors
binary_sensor: !include_dir_merge_list binary_sensors

@PVAnfaenger PVAnfaenger changed the title Keine Enditäten vorhaden No endities available Apr 29, 2024
@Bouni
Copy link
Owner

Bouni commented Apr 29, 2024

@PVAnfaenger

The configuration is entirely in yaml, so yes, you have to create the heatpump.yaml manually.

sensor: !include_dir_merge_list sensors
binary_sensor: !include_dir_merge_list binary_sensors

These will merge any yaml file in the subfolders into the configuration.

@Bouni Bouni added the question Further information is requested label Apr 29, 2024
@PVAnfaenger
Copy link
Author

PVAnfaenger commented Apr 29, 2024

So the designation

!include_dir_merge_list sensors

is only an example and should then be named

sensor: !include_heatpump sensors
binary_sensor: !include_heatpump binary_sensors

And where must the heatpump.yaml be stored? Directly via the file editor in the /homeassistant directory.
?

@Bouni
Copy link
Owner

Bouni commented Jun 7, 2024

Sorry for the huge delay.

In your configuration.yaml you have this line: sensor: !include_dir_merge_list sensors
Next to that you have a folder named sensors that contain one or many .yaml files, one of which is the heatpump.yaml
That contains for example this structure:

- platform: luxtronik
  scan_interval: 60
  sensors:
    - group: calculations
      id: ID_WEB_Temperatur_TVL
      friendly_name: Temperatur Vorlauf
      state_class: measurement

Home Assistant will merge all the yaml files in that folder as if you write a giant structure within your configuration.yaml.

The idea is that you can split your config and make it more readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants