mishamyrt / dohome_rgb

💡 DoHome lights Home Assistant integration
MIT License
1 stars 1 forks source link

Invalid config for 'dohome_rgb' at configuration.yaml #4

Open simonzhekoff opened 2 months ago

simonzhekoff commented 2 months ago

2024-05-05 19:22:39.892 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from dohome_rgb, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'dohome_rgb' custom integration 2024-05-05 19:22:39.987 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from dohome_rgb, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'dohome_rgb' custom integration 2024-05-05 19:22:39.992 ERROR (MainThread) [homeassistant.config] Invalid config for 'dohome_rgb' at configuration.yaml, line 10: 'script' is an invalid option for 'dohome_rgb', check: script, please check the docs at https://github.com/mishamyrt/dohome_rgb Invalid config for 'dohome_rgb' at configuration.yaml, line 11: 'scene' is an invalid option for 'dohome_rgb', check: scene, please check the docs at https://github.com/mishamyrt/dohome_rgb Invalid config for 'dohome_rgb' at configuration.yaml, line 3: 'default_config' is an invalid option for 'dohome_rgb', check: default_config, please check the docs at https://github.com/mishamyrt/dohome_rgb Invalid config for 'dohome_rgb' at configuration.yaml, line 6: 'frontend' is an invalid option for 'dohome_rgb', check: frontend, please check the docs at https://github.com/mishamyrt/dohome_rgb Invalid config for 'dohome_rgb' at configuration.yaml, line 9: 'automation' is an invalid option for 'dohome_rgb', check: automation, please check the docs at https://github.com/mishamyrt/dohome_rgb 2024-05-05 19:22:39.992 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'dohome_rgb': Invalid config. 2024-05-05 19:22:39.992 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'dohome_rgb.light': Unable to set up component.

Running the latest version of Home Assistant in LXC container.

My configuration.yaml look like this:

Loads default set of integrations. Do not remove.

default_config:

Load frontend themes from the themes folder

frontend: themes: !include_dir_merge_named themes

automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml

light:

mishamyrt commented 1 month ago

I haven't updated yet, still on 2024.1. I'll update later and see what I can do about it

mishamyrt commented 1 month ago

I think you have some kind of syntax error in your configuration. Updated to the latest HA version, everything works. There are warnings in the logs, I'll look into them, but they don't affect functionality.

Can you attach your configuration as a file? I'll see if I can help.

kapabel commented 1 month ago

Hi there. I have the same issue and cant make it work. My configuration.yaml is spot on.

Here my yaml: https://pastebin.com/2tx8eJw

In the logs is written:

HomeAssistantType was used from dohome_rgb, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'dohome_rgb' custom integration