Skip to content

MYGGSPRAY Motion Sensor not visible in Homeassistant #183

Description

@m3gg3

i just starting with yout integration and it looks like that one device is not visible even the original python client supports it since three weeks?
https://github.com/Leggin/dirigera/releases/tag/1.2.5

i planned to buy a lot of the new matter devices, can you update yout support matrix and supported products maybe?

2026-01-11 10:39:50.470 DEBUG (MainThread) [custom_components.dirigera_platform] Starting async_unload_entry
2026-01-11 10:39:50.471 INFO (MainThread) [custom_components.dirigera_platform.hub_event_listener] Listener request for stop..
2026-01-11 10:39:50.476 DEBUG (Thread-1532) [custom_components.dirigera_platform.hub_event_listener] Listener thread complete...
2026-01-11 10:39:50.477 INFO (MainThread) [custom_components.dirigera_platform.hub_event_listener] Listener stopped..
2026-01-11 10:39:50.477 DEBUG (MainThread) [custom_components.dirigera_platform] In unload so forcing delete of scenes...
2026-01-11 10:39:50.720 DEBUG (MainThread) [custom_components.dirigera_platform] Done deleting empty scenes....
2026-01-11 10:39:50.721 DEBUG (MainThread) [custom_components.dirigera_platform] Successfully popped entry
2026-01-11 10:39:50.722 DEBUG (MainThread) [custom_components.dirigera_platform] Complete async_unload_entry
2026-01-11 10:39:50.722 INFO (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in init...
2026-01-11 10:39:50.722 DEBUG (MainThread) [custom_components.dirigera_platform] Found HIDE_DEVICE_SET *****
2026-01-11 10:39:50.726 DEBUG (MainThread) [custom_components.dirigera_platform] dirigera_platform init...
2026-01-11 10:39:50.726 DEBUG (MainThread) [custom_components.dirigera_platform] Starting make_devices...
2026-01-11 10:39:50.993 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 scenes...
2026-01-11 10:39:51.284 DEBUG (MainThread) [custom_components.dirigera_platform] Found 1 total of all light devices to setup...
2026-01-11 10:39:51.284 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_bulb ctor...
2026-01-11 10:39:51.284 DEBUG (MainThread) [custom_components.dirigera_platform] Set State of bulb..
2026-01-11 10:39:51.584 DEBUG (MainThread) [custom_components.dirigera_platform] Found 1 total of all blinds devices to setup...
2026-01-11 10:39:51.877 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all air purifiers devices to setup...
2026-01-11 10:39:52.211 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all outlets devices to setup...
2026-01-11 10:39:52.505 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all environment devices entities to setup...
2026-01-11 10:39:52.800 DEBUG (MainThread) [custom_components.dirigera_platform] Found 2 total of all controllers devices to setup...
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_controller ctor...
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value BILRESA dual button
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value BILRESA dual button
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 1.8.5
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value P2.0
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value UNKNOWN_SERIAL_NUMBER
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2489
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value None
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property battery_percentage : value 74
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property switch_label : value button 1
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_controller ctor...
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] ikea_base_device ctor...
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property custom_name : value BILRESA dual button
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property model : value BILRESA dual button
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property manufacturer : value IKEA of Sweden
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property firmware_version : value 1.8.5
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property hardware_version : value P2.0
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property serial_number : value UNKNOWN_SERIAL_NUMBER
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property product_code : value E2489
2026-01-11 10:39:52.801 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_status : value upToDate
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_state : value readyToCheck
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_progress : value 0
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_policy : value autoUpdate
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_start : value 00:00:00
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property ota_schedule_end : value 00:00:00
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property is_on : value None
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property battery_percentage : value 74
2026-01-11 10:39:52.802 DEBUG (MainThread) [custom_components.dirigera_platform] Inducing class ikea_base_device property switch_label : value button 2
2026-01-11 10:39:53.125 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all open_close devices to setup...
2026-01-11 10:39:53.465 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all motion_sensors devices to setup...
2026-01-11 10:39:53.812 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all water_sensors devices to setup...
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] SWITCH Starting async_setup_entry
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 air_purifier switch sensors...
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] SWITCH Complete async_setup_entry
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Starting async_setup_entry
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] Binary Sensor Complete async_setup_entry
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] LIGHT Starting async_setup_entry
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] {'ip_address': '192.168.1.148', 'token': 'TOKENCONTENTHEREDELETED', 'hide_device_set_bulbs': True, 'unsub_options_update_listener': <function ConfigEntry.add_update_listener.. at 0x7f555d8f40>}
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] found setting hide_device_set_bulbs : True
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] Found 1 total of all light entities to setup...
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 device_sets
2026-01-11 10:39:53.813 DEBUG (MainThread) [custom_components.dirigera_platform] Found 1 lights to setup...
2026-01-11 10:39:53.814 DEBUG (MainThread) [custom_components.dirigera_platform] LIGHT Complete async_setup_entry
2026-01-11 10:39:53.814 DEBUG (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in SENSOR...
2026-01-11 10:39:53.814 DEBUG (MainThread) [custom_components.dirigera_platform] Starting to add controller sensors...
2026-01-11 10:39:53.814 DEBUG (MainThread) [custom_components.dirigera_platform] Ignoring controller for scene creation : 0f8d86b7-8f99-4608-a4fe-a4f47a491004_1 as no press event supported : []
2026-01-11 10:39:53.814 DEBUG (MainThread) [custom_components.dirigera_platform] Ignoring controller for scene creation : 0f8d86b7-8f99-4608-a4fe-a4f47a491004_2 as no press event supported : []
2026-01-11 10:39:53.815 DEBUG (MainThread) [custom_components.dirigera_platform] Found 2 controller devices to setup...
2026-01-11 10:39:53.815 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 env entities to setup...
2026-01-11 10:39:53.815 DEBUG (MainThread) [custom_components.dirigera_platform] Looking for extra attributes of power/current/voltage in outlet....
2026-01-11 10:39:53.815 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0, power attribute sensors for outlets
2026-01-11 10:39:53.815 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 battery sensors...
2026-01-11 10:39:53.815 DEBUG (MainThread) [custom_components.dirigera_platform] sensor Complete async_setup_entry
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] BLINDS Starting async_setup_entry
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 blinds sensors to setup...
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] BLINDS Complete async_setup_entry
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] FAN/AirPurifier Starting async_setup_entry
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 air purifier fan sensors to add...
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] FAN/AirPurifier Complete async_setup_entry
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] async_setup_entry for scenes...
2026-01-11 10:39:53.816 DEBUG (MainThread) [custom_components.dirigera_platform] async_setup_entry complete for scenes...
2026-01-11 10:39:53.816 INFO (Thread-1533) [custom_components.dirigera_platform.hub_event_listener] Starting dirigera hub event listener
2026-01-11 10:39:53.818 DEBUG (MainThread) [custom_components.dirigera_platform] Complete async_setup_entry...

tried the debug log enhanced details but in services i get "Failed to perform the action dirigera_platform.dump_data. Unknown error":

Logger: homeassistant.helpers.script.websocket_api_script
Source: helpers/script.py:524
First occurred: 11:13:07 AM (1 occurrence)
Last logged: 11:13:07 AM

websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'ikea_gateway' object is not subscriptable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 524, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1009, in _async_step_call_service
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 624, in _async_run_long_action
return await long_task
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2835, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2885, in _execute_service
return await self._hass.async_add_executor_job(target, service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/dirigera_platform/init.py", line 59, in handle_dump_data
ip = config_data[CONF_IP_ADDRESS]
~~~~~~~~~~~^^^^^^^^^^^^^^^^^
TypeError: 'ikea_gateway' object is not subscriptable

thanks for yout work
m

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions