Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tuya TS0601 Temp / humidity sensor support #116

Open
xenon149 opened this issue Dec 3, 2024 · 0 comments
Open

Tuya TS0601 Temp / humidity sensor support #116

xenon149 opened this issue Dec 3, 2024 · 0 comments

Comments

@xenon149
Copy link

xenon149 commented Dec 3, 2024

Hello, I am trying to add the Tuya TS0601 Temp/humidity sensors to a digera gateway.
I am not sure why it is showing up as an outlet. that is also what it's showing up as in the ikea smarthome app when I add it.

I hope I have included the required log, please let me know if I haven't.

2024-12-04 02:00:34.902 DEBUG (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in init...
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] Found HIDE_DEVICE_SET *****  
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] ******** HIDE : True ********
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] dirigera_platform init...
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] Starting make_devices...
2024-12-04 02:00:35.231 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 scenes...
2024-12-04 02:00:35.497 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all light devices to setup...
2024-12-04 02:00:35.787 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all blinds devices to setup...
2024-12-04 02:00:36.088 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all air purifiers devices to setup...
2024-12-04 02:00:36.401 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry IKEA Dirigera Hub : 192.168.1.135 for dirigera_platform
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/dirigera_platform/__init__.py", line 200, in async_setup_entry
    await platform.make_devices(hass,hass_data[CONF_IP_ADDRESS], hass_data[CONF_TOKEN])
  File "/config/custom_components/dirigera_platform/ikea_gateway.py", line 77, in make_devices
    outlets = await hass.async_add_executor_job(hub.get_outlets)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 211, in get_outlets
    return [dict_to_outlet(outlet, self) for outlet in outlets]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dirigera/devices/outlet.py", line 70, in dict_to_outlet
    return Outlet(dirigeraClient=dirigera_client, **data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for Outlet
attributes -> isOn
  field required (type=value_error.missing)
2024-12-04 02:00:42.914 INFO (SyncWorker_7) [custom_components.dirigera_platform] === START Devices JSON ===
2024-12-04 02:00:42.914 INFO (SyncWorker_7) [custom_components.dirigera_platform] --------------
2024-12-04 02:00:43.236 ERROR (SyncWorker_7) [custom_components.dirigera_platform] TYPE IS <class 'list'>
2024-12-04 02:00:43.236 INFO (SyncWorker_7) [custom_components.dirigera_platform] [{'id': 2, 'relationId': 'ea38a434-b693-44f0-9ab0-0809563ea5ee', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2024-10-28T11:46:33.684Z', 'isReachable': True, 'lastSeen': '2024-12-03T15:00:00.081Z', 'attributes': {'customName': 'Home', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.685.0', 'hardwareVersion': 'P2.5', 'serialNumber': 2, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'checkFailed', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': False, 'backendConnectionPersistent': False, 'backendOnboardingComplete': True, 'backendRegion': 'ap-southeast-2', 'backendCountryCode': 'AU', 'userConsents': [{'name': 'analytics', 'value': 'disabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Australia/Sydney', 'nextSunSet': None, 'nextSunRise': None, 'homestate': 'home', 'countryCode': 'XZ', 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': 3, 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-12-03T05:30:58.000Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:10:02.000Z', 'attributes': {'customName': 'Remote', 'model': 'RODRET Dimmer', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.57', 'hardwareVersion': '1', 'serialNumber': 4, 'productCode': 'E2201', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 5, 'name': 'Bedroom', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 6, 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-12-02T12:40:10.849Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:06:00.710Z', 'attributes': {'customName': 'Garage', 'model': 'Sonos Play:1 S1', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '80.1-56190', 'hardwareVersion': '1.8.3.7-2.0', 'serialNumber': 7, 'productCode': 'S1', 'identifyStarted': '2024-12-02T12:40:10.849Z', 'identifyPeriod': 0, 'playback': 'playbackIdle', 'playbackLastChangedTimestamp': '2024-12-02T12:40:10.849Z', 'playbackAudio': {}, 'playbackPosition': {'position': 0, 'timestamp': '2024-12-02T12:40:10.389Z'}, 'playbackAvailableActions': {'crossfade': True, 'pause': False, 'repeat': ['off', 'playItem', 'playlist'], 'seek': False, 'shuffle': True, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 47, 'isMuted': False, 'audioGroup': 'a806e4ae-32bb-47ef-a3bf-4f4cbb1e70f3'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': True}, {'id': 8, 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-12-03T11:07:25.000Z', 'isReachable': True, 'lastSeen': '2024-12-03T15:00:21.000Z', 'attributes': {'customName': 'TempHumidity1', 'firmwareVersion': '', 'hardwareVersion': '1', 'manufacturer': '_TZE204_yjjdcqsq', 'model': 'TS0601', 'serialNumber': 9, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 5, 'name': 'Bedroom', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}]
2024-12-04 02:00:43.236 INFO (SyncWorker_7) [custom_components.dirigera_platform] --------------

2024-12-04 01:42:36.308 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry IKEA Dirigera Hub : 192.168.1.135 for dirigera_platform
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/dirigera_platform/__init__.py", line 200, in async_setup_entry
    await platform.make_devices(hass,hass_data[CONF_IP_ADDRESS], hass_data[CONF_TOKEN])
  File "/config/custom_components/dirigera_platform/ikea_gateway.py", line 77, in make_devices
    outlets = await hass.async_add_executor_job(hub.get_outlets)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 211, in get_outlets
    return [dict_to_outlet(outlet, self) for outlet in outlets]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dirigera/devices/outlet.py", line 70, in dict_to_outlet
    return Outlet(dirigeraClient=dirigera_client, **data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for Outlet
attributes -> isOn
  field required (type=value_error.missing)
2024-12-04 01:42:39.350 WARNING (MainThread) [homeassistant.components.sonos] Subscription to 192.168.1.128 failed, attempting to poll directly
2024-12-04 01:46:47.526 ERROR (SyncWorker_11) [custom_components.dirigera_platform] TYPE IS <class 'list'>
2024-12-04 01:47:15.783 ERROR (SyncWorker_3) [custom_components.dirigera_platform] TYPE IS <class 'list'>
2024-12-04 01:47:38.590 DEBUG (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in init...
2024-12-04 01:47:38.590 DEBUG (MainThread) [custom_components.dirigera_platform] Found HIDE_DEVICE_SET *****  
2024-12-04 01:47:38.590 DEBUG (MainThread) [custom_components.dirigera_platform] ******** HIDE : True ********
2024-12-04 01:47:38.591 DEBUG (MainThread) [custom_components.dirigera_platform] dirigera_platform init...
2024-12-04 01:47:38.591 DEBUG (MainThread) [custom_components.dirigera_platform] Starting make_devices...
2024-12-04 01:47:38.895 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 scenes...
2024-12-04 01:47:39.196 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all light devices to setup...
2024-12-04 01:47:39.529 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all blinds devices to setup...
2024-12-04 01:47:39.850 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all air purifiers devices to setup...
2024-12-04 01:47:40.160 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry IKEA Dirigera Hub : 192.168.1.135 for dirigera_platform
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/dirigera_platform/__init__.py", line 200, in async_setup_entry
    await platform.make_devices(hass,hass_data[CONF_IP_ADDRESS], hass_data[CONF_TOKEN])
  File "/config/custom_components/dirigera_platform/ikea_gateway.py", line 77, in make_devices
    outlets = await hass.async_add_executor_job(hub.get_outlets)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 211, in get_outlets
    return [dict_to_outlet(outlet, self) for outlet in outlets]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dirigera/devices/outlet.py", line 70, in dict_to_outlet
    return Outlet(dirigeraClient=dirigera_client, **data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for Outlet
attributes -> isOn
  field required (type=value_error.missing)
2024-12-04 01:47:43.530 INFO (SyncWorker_1) [custom_components.dirigera_platform] === START Devices JSON ===
2024-12-04 01:47:43.530 INFO (SyncWorker_1) [custom_components.dirigera_platform] --------------
2024-12-04 01:47:43.839 ERROR (SyncWorker_1) [custom_components.dirigera_platform] TYPE IS <class 'list'>
2024-12-04 01:47:43.839 INFO (SyncWorker_1) [custom_components.dirigera_platform] [{'id': 2, 'relationId': 'ea38a434-b693-44f0-9ab0-0809563ea5ee', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2024-10-28T11:46:33.684Z', 'isReachable': True, 'lastSeen': '2024-12-03T14:47:00.556Z', 'attributes': {'customName': 'Home', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.685.0', 'hardwareVersion': 'P2.5', 'serialNumber': 2, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'checkFailed', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': False, 'backendConnectionPersistent': False, 'backendOnboardingComplete': True, 'backendRegion': 'ap-southeast-2', 'backendCountryCode': 'AU', 'userConsents': [{'name': 'analytics', 'value': 'disabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Australia/Sydney', 'nextSunSet': None, 'nextSunRise': None, 'homestate': 'home', 'countryCode': 'XZ', 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': 3, 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-12-03T05:30:58.000Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:10:02.000Z', 'attributes': {'customName': 'Remote', 'model': 'RODRET Dimmer', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.57', 'hardwareVersion': '1', 'serialNumber': 4, 'productCode': 'E2201', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 5, 'name': 'Bedroom', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 6, 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-12-02T12:40:10.849Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:06:00.710Z', 'attributes': {'customName': 'Garage', 'model': 'Sonos Play:1 S1', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '80.1-56190', 'hardwareVersion': '1.8.3.7-2.0', 'serialNumber': 7, 'productCode': 'S1', 'identifyStarted': '2024-12-02T12:40:10.849Z', 'identifyPeriod': 0, 'playback': 'playbackIdle', 'playbackLastChangedTimestamp': '2024-12-02T12:40:10.849Z', 'playbackAudio': {}, 'playbackPosition': {'position': 0, 'timestamp': '2024-12-02T12:40:10.389Z'}, 'playbackAvailableActions': {'crossfade': True, 'pause': False, 'repeat': ['off', 'playItem', 'playlist'], 'seek': False, 'shuffle': True, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 47, 'isMuted': False, 'audioGroup': 'a806e4ae-32bb-47ef-a3bf-4f4cbb1e70f3'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': True}, {'id': 8, 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-12-03T11:07:25.000Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:08:38.000Z', 'attributes': {'customName': 'TempHumidity1', 'firmwareVersion': '', 'hardwareVersion': '1', 'manufacturer': '_TZE204_yjjdcqsq', 'model': 'TS0601', 'serialNumber': 9, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 5, 'name': 'Bedroom', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}]
2024-12-04 01:47:43.840 INFO (SyncWorker_1) [custom_components.dirigera_platform] --------------
2024-12-04 02:00:34.902 DEBUG (MainThread) [custom_components.dirigera_platform] Staring async_setup_entry in init...
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] Found HIDE_DEVICE_SET *****  
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] ******** HIDE : True ********
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] dirigera_platform init...
2024-12-04 02:00:34.903 DEBUG (MainThread) [custom_components.dirigera_platform] Starting make_devices...
2024-12-04 02:00:35.231 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 scenes...
2024-12-04 02:00:35.497 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all light devices to setup...
2024-12-04 02:00:35.787 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all blinds devices to setup...
2024-12-04 02:00:36.088 DEBUG (MainThread) [custom_components.dirigera_platform] Found 0 total of all air purifiers devices to setup...
2024-12-04 02:00:36.401 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry IKEA Dirigera Hub : 192.168.1.135 for dirigera_platform
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/dirigera_platform/__init__.py", line 200, in async_setup_entry
    await platform.make_devices(hass,hass_data[CONF_IP_ADDRESS], hass_data[CONF_TOKEN])
  File "/config/custom_components/dirigera_platform/ikea_gateway.py", line 77, in make_devices
    outlets = await hass.async_add_executor_job(hub.get_outlets)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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 211, in get_outlets
    return [dict_to_outlet(outlet, self) for outlet in outlets]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/dirigera/devices/outlet.py", line 70, in dict_to_outlet
    return Outlet(dirigeraClient=dirigera_client, **data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for Outlet
attributes -> isOn
  field required (type=value_error.missing)
2024-12-04 02:00:42.914 INFO (SyncWorker_7) [custom_components.dirigera_platform] === START Devices JSON ===
2024-12-04 02:00:42.914 INFO (SyncWorker_7) [custom_components.dirigera_platform] --------------
2024-12-04 02:00:43.236 ERROR (SyncWorker_7) [custom_components.dirigera_platform] TYPE IS <class 'list'>
2024-12-04 02:00:43.236 INFO (SyncWorker_7) [custom_components.dirigera_platform] [{'id': 2, 'relationId': 'ea38a434-b693-44f0-9ab0-0809563ea5ee', 'type': 'gateway', 'deviceType': 'gateway', 'createdAt': '2024-10-28T11:46:33.684Z', 'isReachable': True, 'lastSeen': '2024-12-03T15:00:00.081Z', 'attributes': {'customName': 'Home', 'model': 'DIRIGERA Hub for smart products', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '2.685.0', 'hardwareVersion': 'P2.5', 'serialNumber': 2, 'identifyStarted': '2000-01-01T00:00:00.000Z', 'identifyPeriod': 0, 'otaStatus': 'upToDate', 'otaState': 'checkFailed', 'otaProgress': 0, 'otaPolicy': 'autoDownload', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'permittingJoin': False, 'backendConnected': False, 'backendConnectionPersistent': False, 'backendOnboardingComplete': True, 'backendRegion': 'ap-southeast-2', 'backendCountryCode': 'AU', 'userConsents': [{'name': 'analytics', 'value': 'disabled'}, {'name': 'diagnostics', 'value': 'enabled'}], 'logLevel': 3, 'coredump': False, 'timezone': 'Australia/Sydney', 'nextSunSet': None, 'nextSunRise': None, 'homestate': 'home', 'countryCode': 'XZ', 'isOn': False}, 'capabilities': {'canSend': [], 'canReceive': ['customName', 'permittingJoin', 'userConsents', 'logLevel', 'time', 'timezone', 'countryCode', 'coordinates']}, 'deviceSet': [], 'remoteLinks': []}, {'id': 3, 'type': 'controller', 'deviceType': 'lightController', 'createdAt': '2024-12-03T05:30:58.000Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:10:02.000Z', 'attributes': {'customName': 'Remote', 'model': 'RODRET Dimmer', 'manufacturer': 'IKEA of Sweden', 'firmwareVersion': '1.0.57', 'hardwareVersion': '1', 'serialNumber': 4, 'productCode': 'E2201', 'batteryPercentage': 100, 'isOn': False, 'lightLevel': 1, 'permittingJoin': False, 'otaStatus': 'upToDate', 'otaState': 'readyToCheck', 'otaProgress': 0, 'otaPolicy': 'autoUpdate', 'otaScheduleStart': '00:00', 'otaScheduleEnd': '00:00', 'circadianPresets': []}, 'capabilities': {'canSend': ['isOn', 'lightLevel'], 'canReceive': ['customName']}, 'room': {'id': 5, 'name': 'Bedroom', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}, {'id': 6, 'type': 'speaker', 'deviceType': 'speaker', 'createdAt': '2024-12-02T12:40:10.849Z', 'isReachable': True, 'lastSeen': '2024-12-03T11:06:00.710Z', 'attributes': {'customName': 'Garage', 'model': 'Sonos Play:1 S1', 'manufacturer': 'Sonos, Inc.', 'firmwareVersion': '80.1-56190', 'hardwareVersion': '1.8.3.7-2.0', 'serialNumber': 7, 'productCode': 'S1', 'identifyStarted': '2024-12-02T12:40:10.849Z', 'identifyPeriod': 0, 'playback': 'playbackIdle', 'playbackLastChangedTimestamp': '2024-12-02T12:40:10.849Z', 'playbackAudio': {}, 'playbackPosition': {'position': 0, 'timestamp': '2024-12-02T12:40:10.389Z'}, 'playbackAvailableActions': {'crossfade': True, 'pause': False, 'repeat': ['off', 'playItem', 'playlist'], 'seek': False, 'shuffle': True, 'playbackNext': False, 'playbackPrev': False}, 'playbackModes': {'crossfade': False, 'repeat': 'off', 'shuffle': False}, 'volume': 47, 'isMuted': False, 'audioGroup': 'a806e4ae-32bb-47ef-a3bf-4f4cbb1e70f3'}, 'capabilities': {'canSend': [], 'canReceive': ['playback', 'playbackAudio', 'volume', 'isMuted']}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': True}, {'id': 8, 'type': 'outlet', 'deviceType': 'outlet', 'createdAt': '2024-12-03T11:07:25.000Z', 'isReachable': True, 'lastSeen': '2024-12-03T15:00:21.000Z', 'attributes': {'customName': 'TempHumidity1', 'firmwareVersion': '', 'hardwareVersion': '1', 'manufacturer': '_TZE204_yjjdcqsq', 'model': 'TS0601', 'serialNumber': 9, 'permittingJoin': False, 'otaPolicy': 'autoUpdate', 'otaProgress': 0, 'otaScheduleEnd': '00:00', 'otaScheduleStart': '00:00', 'otaState': 'readyToCheck', 'otaStatus': 'upToDate'}, 'capabilities': {'canSend': [], 'canReceive': ['customName']}, 'room': {'id': 5, 'name': 'Bedroom', 'color': 'ikea_yellow_no_24', 'icon': 'rooms_bed'}, 'deviceSet': [], 'remoteLinks': [], 'isHidden': False}]
2024-12-04 02:00:43.236 INFO (SyncWorker_7) [custom_components.dirigera_platform] --------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant