Comments (5)
I tried to call the dump service, but i can't find the output. Tried the logs, but found the error above.
from dirigera_platform.
2024-02-28 22:46:08.164 ERROR (MainThread) [homeassistant.components.light] Error while setting up dirigera_platform platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 344, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/dirigera_platform/light.py", line 44, in async_setup_entry
hub_lights = await hass.async_add_executor_job(hub.get_lights)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.12/site-packages/dirigera/hub/hub.py", line 137, in get_lights
return [dict_to_light(light, self) for light in lights]
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.12/site-packages/dirigera/devices/light.py", line 109, in dict_to_light
return Light(
^^^^^^
File "/usr/local/lib/python3.12/site-packages/pydantic/main.py", line 341, in init
raise validation_error
pydantic.error_wrappers.ValidationError: 1 validation error for Light
room
field required (type=value_error.missing)
2024-02-28 22:46:08.610 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 env devices to setup...
2024-02-28 22:46:08.610 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 env entities to setup...
2024-02-28 22:46:08.611 DEBUG (MainThread) [custom_components.dirigera_platform] EnvSensor & Controllers Complete async_setup_entry
2024-02-28 22:46:08.656 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 motion_sensor entities to setup...
2024-02-28 22:46:08.656 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 open close entities to setup...
2024-02-28 22:46:08.656 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Complete async_setup_entry
2024-02-28 22:46:38.129 DEBUG (SyncWorker_24) [custom_components.dirigera_platform] outlet update...
2024-02-28 22:46:51.888 INFO (SyncWorker_5) [custom_components.dirigera_platform] === START Devices JSON ===
2024-02-28 22:46:51.889 INFO (SyncWorker_5) [custom_components.dirigera_platform] --------------
from dirigera_platform.
As you would see in the logs there are no devices that it could read from the hub. Possibly the hub was not setup correctly with the integration. The JSON dump is nothing
2024-02-28 22:46:51.888 INFO (SyncWorker_5) [custom_components.dirigera_platform] === START Devices JSON ===
2024-02-28 22:46:51.889 INFO (SyncWorker_5) [custom_components.dirigera_platform] --------------
from dirigera_platform.
Funny, the light bulbs work fine in IKEA Smart Home and Apple Homekit, but they don't show up in this integration.
from dirigera_platform.
:( Not sure how I can help...
from dirigera_platform.
Related Issues (20)
- Vallhorn motion sensor always reported as "clear" HOT 5
- Trigger scenes HOT 7
- Issues since 1.4.2 HOT 8
- 1.4.1 - set support -no lights included in the set HOT 13
- Vindstyrka Enviroment Sensor broken HOT 17
- Badring watersensor HOT 11
- Non-IKEA sensors support? HOT 4
- Parasoll slow response HOT 9
- TRADFRI motion sensor HOT 9
- Not full spectrum of color temp of smart bulbs HOT 7
- Show battery level in device list HOT 37
- Light status updates are very slow (e.g. when changing brightness) HOT 23
- Error installing HOT 1
- HA status not updated HOT 10
- Name of reposetory ? HOT 4
- issue with update of lights since last version 1.7.6 and 1.7.5 HOT 13
- Rodret Wireless Dimmer HOT 2
- Doorsensor event propagation no longer instant HOT 3
- Dirigera HUB connection lost after update / reboot of HomeAutomation HOT 1
- New devices: door sensor (PARASOLL) & Water Leak sensor (BADRING) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dirigera_platform.