mishamyrt / dohome_rgb Goto Github PK
View Code? Open in Web Editor NEW๐ก DoHome lights Home Assistant integration
License: MIT License
๐ก DoHome lights Home Assistant integration
License: MIT License
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:
default_config:
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
light:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/setup.py", line 332, in _async_setup_component
result = await task
^^^^^^^^^^
File "/root/.homeassistant/custom_components/dohome_rgb/init.py", line 27, in async_setup
hass.data[DOMAIN] = DoHomeGateway(config[DOMAIN][CONF_GATEWAY])
~~~~~~^^^^^^^^
KeyError: 'dohome_rgb'
2024-01-13 14:26:33.059 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform 'dohome_rgb.light': Unable to set up component.
I am aware of the issue and ensure that the syntax is latest for the yaml. Invalid config is still being encountered.
Followed by another two log entries:
Other info:
config/configuration.yaml
file shows the following, where 7ED0
is the last 4 chars of the MAC address of the device# 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 living_room:
- platform: dohome_rgb
sids:
- 7ED0
Questions:
I am quite new to custom components, especially the troubleshooting, thank you for your understand and help in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.