mkaiser / Sungrow-SHx-Inverter-Modbus-Home-Assistant

Sungrow SH Integration for Home Assistant for SH3K6, SH4K6, SH5K-20, SH5K-V13, SH3K6-30, SH4K6-30, SH5K-30, SH3.RS, SH3.6RS, SH4.0RS, SH5.0RS, SH6.0RS, SH5.0RT, SH6.0RT, SH8.0RT, SH10RT, SH5.0RT-20, SH6.0RT-20, SH8.0RT-20, SH10RT-20, SH5.0RT-V112, SH6.0RT-V112, SH8.0RT-V112, SH10RT-V112, SH5.0RT-V122, SH6.0RT-V122, SH8.0RT-V122, SH10RT-V122, SH4.6R
378 stars 95 forks source link

Problem with config.yaml #148

Closed Ruebnow closed 1 year ago

Ruebnow commented 1 year ago

Hi, after making the entry in config.yaml, I get the following error when checking: "Error loading /config/configuration.yaml: could not determine a constructor for the tag '!include_modbus_sungrow.yaml' in "/config/configuration.yaml", line 8, column 13" . Can you help me? The entry in config.yaml looks like this " packages: !include_modbus_sungrow.yaml"

mkaiser commented 1 year ago

My first guess it, that it coult be related to indentation, try this (put the modbus_sungrow.yaml in a folder "packages" first)

homeassistant:
  packages:
    sungrow: !include packages/modbus_sungrow.yaml

"homeassistant:" has no identaion, for "packages" there are 2 spaces, for "sungrow" 4 spaces

Ruebnow commented 1 year ago

hi, first of all thanks for the answer. It was my fault because I misunderstood something. after i found my error also my inverter was running in ha. thanks

Am Fr., 25. Aug. 2023 um 21:45 Uhr schrieb mkaiser @.***

:

My first guess it, that it coult be related to indentation, try this (put the modbus_sungrow.yaml in a folder "packages" first)

homeassistant: packages: sungrow: !include packages/modbus_sungrow.yaml

"homeassistant:" has no identaion, for "packages" there are 2 spaces, for "sungrow" 4 spaces

— Reply to this email directly, view it on GitHub https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant/issues/148#issuecomment-1693852159, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2GCMSWOFJ6SCNG24THV52TXXD6D5ANCNFSM6AAAAAA36SIDFM . You are receiving this because you authored the thread.Message ID: <mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant/issues/148/1693852159@ github.com>