RalfWinter / lambda-heatpump-modbus-tcp-HA

Home Assistant configuration.yaml additions to integrate Lambda heatpump
Apache License 2.0
25 stars 5 forks source link

How to integrate into a fresh HA 2024.2 installation? #9

Closed TomDue closed 4 months ago

TomDue commented 4 months ago

Hi, i'm new into HA and don't know how to exactly integrate your YAML file into the HA configuration. I found the "configuration.yaml" but it's almost empty. How do I exactly integrate the Lambda Heatpump? Thanks for helping a newbie.

RalfWinter commented 4 months ago

Save the "HA-Lambda-WP_configuration.yaml" into the directory where your configuration.yaml resides and add following line to your configuration.yaml: template: !include HA-Lambda-WP_configuration.yaml

TomDue commented 4 months ago

Hi Ralf

Thanks very much! I can load it but I get this:

Logger: homeassistant.config Source: config.py:597 First occurred: 21:10:56 (1 occurrences) Last logged: 21:10:56

Invalid config for 'template' at Lambda-WP.yaml, line 4: 'modbus' is an invalid option for 'template', check: modbus Invalid config for 'template' at Lambda-WP.yaml, line 558: 'platform' is an invalid option for 'template', check: sensor->0->platform Invalid config for 'template' at Lambda-WP.yaml, line 558: required key 'state' not provided Invalid config for 'template' at Lambda-WP.yaml, line 559: 'sensors' is an invalid option for 'template', check: sensor->0->sensors

I changed the your configuration to fit my Lambda IP and commented out the modules I don't have. Attached is my configuration. Maybe you see what I did wrong immediately?

Your help is appreciated a lot! Thanks Tom

From: RalfWinter @.> Sent: Thursday, 22 February 2024 21:00 To: RalfWinter/lambda-heatpump-modbus-tcp-HA @.> Cc: TomDue @.>; Author @.> Subject: Re: [RalfWinter/lambda-heatpump-modbus-tcp-HA] How to integrate into a fresh HA 2024.2 installation? (Issue #9)

Save the "HA-Lambda-WP_configuration.yaml" into the directory where your configuration.yaml resides and add following line to your configuration.yaml: template: !include HA-Lambda-WP_configuration.yaml — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

RalfWinter commented 4 months ago

Sorry, forget my previous advice. Just append the configuration.yaml with the "HA-Lambda-WP_configuration.yaml". I just realized that my !include did not work as desired :-(

TomDue commented 4 months ago

Hi Ralf

It works  I get data.

Thanks a lot!

Regards Tom

From: RalfWinter @.> Sent: Thursday, 22 February 2024 21:46 To: RalfWinter/lambda-heatpump-modbus-tcp-HA @.> Cc: TomDue @.>; Author @.> Subject: Re: [RalfWinter/lambda-heatpump-modbus-tcp-HA] How to integrate into a fresh HA 2024.2 installation? (Issue #9)

Sorry, forget my previous advice. Just append the configuration.yaml with the "HA-Lambda-WP_configuration.yaml". I just realized that my !include did not work as desired :-( — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

RalfWinter commented 4 months ago

Thanks for letting us know.