sanjoyg / dirigera_platform

HomeAssistant Integration for Dirigera Platform
MIT License
71 stars 8 forks source link

Remote support not working #16

Closed JanuszSmola closed 3 months ago

JanuszSmola commented 3 months ago

I see in the description that "STYRBAR Remotes" should be working but I can't find it anywhere in the HA. After I enter IP address and press action button I only see the bulbs on the list and I don't see a remote. I make sure that the remote I own is STYRBAR (the square one with 2 arrow buttons and 2 dim/light buttons).

Here is what I see in HA:

Screenshot 2024-03-11 at 23 24 08

I'm pretty new to HA so I'm not really sure where should I be able to see the remote but I can't find it anywhere. I run HA in docker container and I don't see any logs connected to remotes. Any tips how to get this working?

sanjoyg commented 3 months ago

can you post the JSON from the log, read the readme how to do it. that would help

sanjoyg commented 3 months ago

Can you please run the service command and post the JSON that would apply in the log

On Tue, Mar 12, 2024 at 11:18 AM Janusz Smoła @.***> wrote:

2024-03-12 08:13:04.512 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-03-12 08:13:06.443 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues 2024-03-12 https://github.com/hacs/integration/issues2024-03-12 08:13:08.433 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400) 2024-03-12 08:14:31.430 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:14:31.437 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:14:31.440 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:14:31.440 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:14:31.441 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:14:31.441 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:14:31.502 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up dirigera_platform platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/dirigera_platform/sensor.py", line 55, in async_setup_entry hub_controllers = await hass.async_add_executor_job(hub.get_controllers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/hub/hub.py", line 237, in get_controllers return [dict_to_controller(controller, self) for controller in controllers] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/devices/controller.py", line 34, in dict_to_controller return Controller(dirigeraClient=dirigera_client, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 Controller room field required (type=value_error.missing) 2024-03-12 08:15:31.753 DEBUG (SyncWorker_6) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:15:31.766 DEBUG (SyncWorker_6) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:15:31.767 DEBUG (SyncWorker_6) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:15:31.767 DEBUG (SyncWorker_6) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:15:32.021 DEBUG (SyncWorker_2) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:15:32.021 DEBUG (SyncWorker_2) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:15:32.021 DEBUG (SyncWorker_2) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:15:32.021 DEBUG (SyncWorker_2) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:15:32.286 DEBUG (SyncWorker_4) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:15:32.286 DEBUG (SyncWorker_4) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:15:32.286 DEBUG (SyncWorker_4) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:15:32.286 DEBUG (SyncWorker_4) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:15:32.542 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:15:32.542 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature'] 2024-03-12 08:15:32.542 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:15:32.542 DEBUG (SyncWorker_7) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>] 2024-03-12 08:15:32.812 DEBUG (SyncWorker_5) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:15:32.812 DEBUG (SyncWorker_5) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:15:32.812 DEBUG (SyncWorker_5) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:15:32.812 DEBUG (SyncWorker_5) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:15:33.079 DEBUG (SyncWorker_1) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:15:33.079 DEBUG (SyncWorker_1) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:15:33.079 DEBUG (SyncWorker_1) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:15:33.079 DEBUG (SyncWorker_1) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:16:39.786 DEBUG (MainThread) [custom_components.dirigera_platform] CONFIG async_step_user called.... 2024-03-12 08:16:44.139 DEBUG (MainThread) [custom_components.dirigera_platform] CONFIG async_step_user called.... 2024-03-12 08:16:44.139 DEBUG (MainThread) [custom_components.dirigera_platform] async step init user input is not none... 2024-03-12 08:16:44.139 DEBUG (MainThread) [custom_components.dirigera_platform] user_input is 2024-03-12 08:16:44.139 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2'} 2024-03-12 08:16:44.139 DEBUG (MainThread) [custom_components.dirigera_platform] Moving to second step.... 2024-03-12 08:16:44.140 DEBUG (SyncWorker_4) [custom_components.dirigera_platform] In generate token step one 2024-03-12 08:16:44.416 DEBUG (SyncWorker_4) [custom_components.dirigera_platform] returning from generate token step one 2024-03-12 08:17:04.917 DEBUG (MainThread) [custom_components.dirigera_platform] CONFIG async_step_action called.... 2024-03-12 08:17:04.918 DEBUG (MainThread) [custom_components.dirigera_platform] ip 192.168.18.2 2024-03-12 08:17:04.919 DEBUG (SyncWorker_3) [custom_components.dirigera_platform] in generated token step two 2024-03-12 08:17:05.561 DEBUG (SyncWorker_3) [custom_components.dirigera_platform] returning from generate token step two 2024-03-12 08:17:05.561 INFO (MainThread) [custom_components.dirigera_platform] Successful generating token 2024-03-12 08:17:05.561 DEBUG (MainThread) [custom_components.dirigera_platform] eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg 2024-03-12 08:17:05.564 DEBUG (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in init... 2024-03-12 08:17:05.564 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg'} 2024-03-12 08:17:05.564 DEBUG (MainThread) [custom_components.dirigera_platform] hass_data 2024-03-12 08:17:05.564 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg'} 2024-03-12 08:17:05.564 DEBUG (MainThread) [custom_components.dirigera_platform] Complete async_setup_entry... 2024-03-12 08:17:05.575 DEBUG (MainThread) [custom_components.dirigera_platform] LIGHT Starting async_setup_entry 2024-03-12 08:17:05.576 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg', 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.. at 0xffff7cd7a340>} 2024-03-12 08:17:05.581 DEBUG (MainThread) [custom_components.dirigera_platform] SWITCH Starting async_setup_entry 2024-03-12 08:17:05.581 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Starting async_setup_entry 2024-03-12 08:17:05.581 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg', 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.. at 0xffff7cd7a340>} 2024-03-12 08:17:05.581 DEBUG (MainThread) [custom_components.dirigera_platform] EnvSensor & Controllers Starting async_setup_entry 2024-03-12 08:17:05.581 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg', 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.. at 0xffff7cd7a340>} 2024-03-12 08:17:05.582 DEBUG (MainThread) [custom_components.dirigera_platform] BLINDS Starting async_setup_entry 2024-03-12 08:17:05.582 DEBUG (MainThread) [custom_components.dirigera_platform] FAN/AirPurifier Starting async_setup_entry 2024-03-12 08:17:05.582 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.18.2', 'token': 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IjU4NWUwYjdjNWJlNjVjYWI4Yjg0ZTc5YTY1N2NjZjY0MzljZGFiNTM5ZGVkZTRlMGQwMTRjYjgxZTFkNmNkYTUifQ.eyJpc3MiOiI3MWYwZDlmNy03N2UyLTQ1OTQtYWJkOC05NzBhZjczOTk5ODYiLCJ0eXBlIjoiYWNjZXNzIiwiYXVkIjoiaG9tZXNtYXJ0LmxvY2FsIiwic3ViIjoiOTI3NDhlMTgtODRjZS00YWVkLWIyYTMtZThhYmU0NjIwYjkzIiwiaWF0IjoxNzEwMjMxNDIzLCJleHAiOjIwMjU4MDc0MjN9.AAijTxUZGLkCtXqKsWW-rA3EzB3rDvrX3gI_Sy6jrDwCuBeI7JLcvE2CVjZOs0yv5D-C6iyx9cHyiiTXKqO-hg', 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.. at 0xffff7cd7a340>} 2024-03-12 08:17:06.974 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 air_purifier devices to setup... 2024-03-12 08:17:06.974 DEBUG (MainThread) [custom_components.dirigera_platform] FAN/AirPurifier Complete async_setup_entry 2024-03-12 08:17:07.065 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 outlet entities to setup... 2024-03-12 08:17:07.065 DEBUG (MainThread) [custom_components.dirigera_platform] SWITCH Complete async_setup_entry 2024-03-12 08:17:07.174 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 blinds entities to setup... 2024-03-12 08:17:07.175 DEBUG (MainThread) [custom_components.dirigera_platform] BLINDS Complete async_setup_entry 2024-03-12 08:17:07.248 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor... 2024-03-12 08:17:07.248 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:17:07.248 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:17:07.248 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:17:07.248 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor... 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor... 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor... 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature'] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor... 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor... 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] Got can_receive in state 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] ['customName', 'isOn', 'lightLevel', 'colorTemperature', 'colorHue', 'colorSaturation'] 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] supported color mode set to 2024-03-12 08:17:07.249 DEBUG (MainThread) [custom_components.dirigera_platform] [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>] 2024-03-12 08:17:07.250 DEBUG (MainThread) [custom_components.dirigera_platform] Found 6 light entities to setup... 2024-03-12 08:17:07.252 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:17:07.256 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:17:07.256 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:17:07.257 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:17:07.257 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:17:07.257 WARNING (MainThread) [homeassistant.components.light] None (<class 'custom_components.dirigera_platform.light.ikea_bulb'>) sets invalid supported color modes [<ColorMode.BRIGHTNESS: 'brightness'>, <ColorMode.COLOR_TEMP: 'color_temp'>, <ColorMode.HS: 'hs'>, <ColorMode.HS: 'hs'>], this will stop working in Home Assistant Core 2025.3, please create a bug report at https://github.com/sanjoyg/dirigera_platform 2024-03-12 https://github.com/sanjoyg/dirigera_platform2024-03-12 08:17:07.258 DEBUG (MainThread) [custom_components.dirigera_platform] LIGHT Complete async_setup_entry 2024-03-12 08:17:07.736 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 motion_sensor entities to setup... 2024-03-12 08:17:07.736 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 open close entities to setup... 2024-03-12 08:17:07.736 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Complete async_setup_entry 2024-03-12 08:17:07.760 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up dirigera_platform platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform await asyncio.shield(awaitable) File "/config/custom_components/dirigera_platform/sensor.py", line 55, in async_setup_entry hub_controllers = await hass.async_add_executor_job(hub.get_controllers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/hub/hub.py", line 237, in get_controllers return [dict_to_controller(controller, self) for controller in controllers] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/dirigera/devices/controller.py", line 34, in dict_to_controller return Controller(dirigeraClient=dirigera_client, data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 Controller room field required (type=value_error.missing)

— Reply to this email directly, view it on GitHub https://github.com/sanjoyg/dirigera_platform/issues/16#issuecomment-1991012494, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2X3CTLAXZX3GMVQSYQ7XTYX2263AVCNFSM6AAAAABERE2Q6KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJRGAYTENBZGQ . You are receiving this because you commented.Message ID: @.***>

slajob commented 3 months ago

Hi, I found the same error in my setup. @JanuszSmola probably you have new SOMRIG shortcut button image That's right? I thing there is a bug in dirigera lib and I'll try to fix it in Leggin repository

slajob commented 3 months ago

Update: Bug found and fixed in https://github.com/Leggin/dirigera/pull/53 So after merge we can update dirigera lib version 😇

sanjoyg commented 3 months ago

@slajob is it merged... once merged will you updated the requirements.txt and cut a new release

slajob commented 3 months ago

Sure , When I got accepted my PR in dirigera repo I will do it 😁

sanjoyg commented 3 months ago

@slajob updated the requirements.txt and pushed a new release

@JanuszSmola please try with release 1.3.4