Hubspace-Homeassistant icon indicating copy to clipboard operation
Hubspace-Homeassistant copied to clipboard

Zandra fan issues

Open MYanello opened this issue 11 months ago • 11 comments

I have 3 zandra fans I am trying to get to work in Homeassistant. Couple of issues I'm trying to correct:

  1. The entities are simply 'light.ceiling_fan' and 'light.ceiling_fan_2' etc, while I have descriptive names in the hubspace app. Strangely enough the server_room_fan is marked as such in Homeassistant, so I'd think it should work for the other two fans.
  2. Changing fan speed on the light.ceiling_fan entity does nothing, on/off does turn the fan on and off though as expected.
  3. Changing light.ceiling_fan_light on/off does nothing.

I've poked at it a bit but wasn't able to find much luck. I've found that the Model is marked as TBD, even though it is zandra and there seems to be support for that here. I've also found that the deviceClass for some of the output is ceiling-fan, which doesn't seem accounted for in hubspace.py or light.py, but it's likely that is a red herring.

Output of TestHubspace.py here: 3zandra.json

Any pointers here would be greatly appreciated.

MYanello avatar Feb 29 '24 20:02 MYanello

I'll take a look in a few days, when I get a chance. Fans are a pain! I would remove the cieling_fan_x entities. They are not correct, they should be named as they are in the app.

To make life difficult, Hubspace populate some models with TBD, so I need to resort to other ways to figure out the model. I will be able to figure it out with the output you posted and some testing from you. I'll reach out here when I have an update

You can try to poke around in the hubspace.py where I override the model names, based on the icon. Perhaps the logic got messed up. Look for the def getChildInfoById and getChildId. It looks ok at first inspection

Ok. Carefully reading your questions looks like the fan is ok (except for speed), but the light is giving an issue. I do not check the light type. Opps. I see the issue there. Remove the "deviceClass == "fan" and" from line 263 and 315 from Hubspace.py and report back. We can address the speed later when I have more time, I think I can get everything from what you provided.

jdeath avatar Mar 01 '24 00:03 jdeath

remove the cieling_fan_x entities

Can't do this in Hass UI, I assume deleting them from core.entity_registry is the correct way? Regardless, doing this, rebooting, then deleting from the UI and rebooting again fixed this issue. Maybe the devices got picked up before I renamed them in the hubspace app.

Remove the "deviceClass == "fan" and" from line 263 and 315 from Hubspace.py

Do you mean remove the and model == "TBD" part? Or the whole if statement? I tried both but didn't see any changes in the Hass logs or created entities.

Logs after removing just the and part:

024-02-29 18:58:04.230 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.230 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-02-29 18:58:04.230 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: fan
2024-02-29 18:58:04.230 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Server Room Fan
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': '3356d331-4bab-4986-9018-0c7c4a8dd9ee', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'toggle', 'functionInstance': 'comfort-breeze', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e7ab8437-7658-4299-a375-8cd375db25a3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'enabled', 'deviceValues': [{'id': 'ca7651ce-6617-46f4-9010-36a210111c72', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '1'}], 'range': {}}, {'id': 'b2cf52c2-034b-4e2e-af91-d396a7fa69b3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'disabled', 'deviceValues': [{'id': 'd9268204-7dc6-490e-9912-22becc2612f3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '0'}], 'range': {}}]}, {'id': 'f5f2f4eb-ea67-47dd-bd8f-2e4a2d00a334', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'timer', 'functionInstance': 'fan-power', 'type': 'numeric', 'schedulable': False, 'values': [{'id': 'c99c4010-a5ca-4db8-8d64-819e0c64f6b7', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'timer-1', 'deviceValues': [{'id': 'c5415910-1c3c-4392-9ee3-846a43c8a939', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '50'}], 'range': {'min': 0, 'max': 1440, 'step': 1}}]}, {'id': 'fd6e65b0-18e1-4e0f-adfa-4016e79257c1', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-speed', 'functionInstance': 'fan-speed', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e2c67b97-dba4-4093-8835-4ec9d812e9fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-033', 'deviceValues': [{'id': 'c477706f-ba01-46e5-a3a6-cdfe5ac33e2f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '33'}], 'range': {}}, {'id': '7850da8b-6092-40f2-8148-40b46e57f33c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-100', 'deviceValues': [{'id': 'a3c125c3-7438-4179-85c5-cb22ed29844c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '100'}], 'range': {}}, {'id': '14c317f7-c2a8-4723-9fe0-5a65707c3963', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-016', 'deviceValues': [{'id': 'fad1fe60-b1dc-4bc3-ab26-6cb0d7f2edc4', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '16'}], 'range': {}}, {'id': '8a727615-176d-4eab-9406-43318e329f2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-050', 'deviceValues': [{'id': 'ed9eaa4e-25a6-400d-8396-7c49ee872a4b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '50'}], 'range': {}}, {'id': '951dfeb3-6dd2-4200-a5eb-1b754069086d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-000', 'hints': ['hidden'], 'deviceValues': [{'id': '435da332-f4c6-4241-a2a7-04ab9d8cda8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '0'}], 'range': {}}, {'id': '4d903789-a579-4e7d-8cef-4027f19ab837', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-083', 'deviceValues': [{'id': '16bc50d2-89f9-400e-8351-3e3df0d83d34', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '83'}], 'range': {}}, {'id': '87a5e1f5-2ec2-4e11-bf9d-a314da61e950', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-066', 'deviceValues': [{'id': 'afecee58-8bb7-488a-a320-726c9b2fb802', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '66'}], 'range': {}}]}, {'id': 'b3c0cadc-a2f7-4b41-8d7d-a65f94456a9b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-reverse', 'functionInstance': 'fan-reverse', 'type': 'category', 'schedulable': False, 'values': [{'id': 'bfaaf698-2381-40f7-92ef-6e564b4cca02', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'reverse', 'deviceValues': [{'id': 'b3d27707-fb07-4e9a-8d4c-d8c51295dba6', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '1'}], 'range': {}}, {'id': 'e8101884-5e7c-4cc7-9926-5df68308842b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'forward', 'deviceValues': [{'id': 'ebec241e-8cec-47e9-851e-d0c7cb5723fc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '0'}], 'range': {}}, {'id': '0690169b-3226-44d2-992b-a875762f9f82', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'in-progress', 'hints': ['voice-hidden'], 'deviceValues': [{'id': '97095d1a-c558-415f-85c0-479e97fd3052', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '2'}], 'range': {}}]}, {'id': '8b22dc37-2887-4abb-994f-84ea36282572', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'fan-power', 'type': 'category', 'schedulable': True, 'values': [{'id': '5288f3c4-ad36-4aa1-94a2-5e634ee4d14c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '38d9ba39-7f43-41bc-a58a-416eb9de5d7c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '0'}], 'range': {}}, {'id': 'b2dca44b-103c-4405-a0bd-b2586366f27d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '7f7a0c5e-053c-4e2c-ab9c-d3dbfcd0b97d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '1'}], 'range': {}}]}]
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId f62398a4-067e-406e-b447-7ddd0cfc7308
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: light
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Camille Office Light
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': 'b3493d82-84dd-4f0a-9f8d-9abfe8134019', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'light-power', 'type': 'category', 'schedulable': True, 'values': [{'id': 'fe7d2a18-75a5-4aa5-97cb-f2120c73c51a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '426cbcf6-fa38-40bc-84ed-17351c998ae9', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '0'}], 'range': {}}, {'id': 'd4edec92-e250-4ba3-a94c-25ae3ce0bc09', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': 'de514259-a770-46d1-8544-29509a14e2fe', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '1'}], 'range': {}}]}, {'id': '4ba4228f-f558-4647-b695-1a8f4e280037', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'color-temperature', 'type': 'category', 'schedulable': False, 'values': [{'id': '04f971f6-9aac-4547-b57a-38d18e09a591', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '6500K', 'deviceValues': [{'id': 'c470b408-2356-4d3b-a89e-8904d3e46da3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '6500'}], 'range': {}}, {'id': '7e91de25-91ac-44b6-a634-2341457e7a95', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3000K', 'deviceValues': [{'id': '7185b668-3528-4acd-8fe4-956533bdceed', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3000'}], 'range': {}}, {'id': '48913ca0-a39b-4e03-af73-2a57dc776b5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '2700K', 'deviceValues': [{'id': 'dff568e9-50af-4438-a254-0d3de2779aec', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '2700'}], 'range': {}}, {'id': 'dd910308-900e-4c36-aebf-7e76769ccb7b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '5000K', 'deviceValues': [{'id': 'acd4fecb-07d1-4fe7-a37a-ec64bdf52271', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '5000'}], 'range': {}}, {'id': '66396e98-6e43-4098-a0ac-e7fdeeddfc7d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '4000K', 'deviceValues': [{'id': '69961c04-3a1e-4e43-b56e-ec5cc18bf8aa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '4000'}], 'range': {}}, {'id': '5f834fce-2cf1-4484-bd52-c59e559b2972', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3500K', 'deviceValues': [{'id': '405a9a3a-13ad-4a97-b53d-8568b651af0f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3500'}], 'range': {}}]}, {'id': 'adba009a-0290-4e68-8bb1-d288c20daa8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'brightness', 'type': 'numeric', 'schedulable': True, 'values': [{'id': 'e1fa9652-1f16-4d57-82fd-7b6c01dee96d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'brightness', 'deviceValues': [{'id': '8e1da2e0-c635-4308-b8db-67b9d3afeaaf', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '4'}], 'range': {'min': 1, 'max': 100, 'step': 1}}]}]
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Light Name: 
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Camille Office Light
2024-02-29 18:58:04.231 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId 8f45dba1-de15-4642-979a-1363f4ad8ad1
2024-02-29 18:58:04.241 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.241 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-02-29 18:58:04.241 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-02-29 18:58:04.241 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Guest Room Fan
2024-02-29 18:58:04.241 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': 'f9771914-12fa-4cfb-9d4e-8651f0a36170', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'storage-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': 'fe1be587-b8c5-440c-8be5-bc96f98cf425', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'storage-error', 'deviceValues': [{'id': 'a5dfc44b-bafb-48e4-a0e6-b699c99ef791', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '405'}], 'range': {}}]}, {'id': '9256dc8e-52d7-4b8a-baf6-ce744c907f2b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'primary', 'type': 'category', 'schedulable': True, 'values': [{'id': '46f591a4-d45b-439a-b3b7-52c1195d3b2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '2e2617a7-e6fa-441b-8914-2d4f937ba8cc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '1'}], 'range': {}}, {'id': 'd09a70f4-470a-4214-bfe1-524326e25b99', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '8f14f218-8a5a-48da-aa3c-a5c2484eef5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '0'}], 'range': {}}]}, {'id': '25d5b4fb-a1b8-4130-97b6-fa9f1c8cefda', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'acz-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': '1a9a6676-7762-4ed7-909f-a91ea73e28fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'no-error', 'deviceValues': [{'id': '99558636-8c55-4f5a-9afd-8adb2463a71f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '406'}], 'range': {}}]}]
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId 140be9a8-4e1c-4a93-a61d-1b3f9c0e2254
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Camille Office Fan
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': 'f9771914-12fa-4cfb-9d4e-8651f0a36170', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'storage-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': 'fe1be587-b8c5-440c-8be5-bc96f98cf425', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'storage-error', 'deviceValues': [{'id': 'a5dfc44b-bafb-48e4-a0e6-b699c99ef791', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '405'}], 'range': {}}]}, {'id': '9256dc8e-52d7-4b8a-baf6-ce744c907f2b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'primary', 'type': 'category', 'schedulable': True, 'values': [{'id': '46f591a4-d45b-439a-b3b7-52c1195d3b2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '2e2617a7-e6fa-441b-8914-2d4f937ba8cc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '1'}], 'range': {}}, {'id': 'd09a70f4-470a-4214-bfe1-524326e25b99', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '8f14f218-8a5a-48da-aa3c-a5c2484eef5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '0'}], 'range': {}}]}, {'id': '25d5b4fb-a1b8-4130-97b6-fa9f1c8cefda', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'acz-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': '1a9a6676-7762-4ed7-909f-a91ea73e28fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'no-error', 'deviceValues': [{'id': '99558636-8c55-4f5a-9afd-8adb2463a71f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '406'}], 'range': {}}]}]
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId ef6f9b6e-e643-4f05-b2bd-402030fb1c7a
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: light
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Guest Room Fan Light
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': 'b3493d82-84dd-4f0a-9f8d-9abfe8134019', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'light-power', 'type': 'category', 'schedulable': True, 'values': [{'id': 'fe7d2a18-75a5-4aa5-97cb-f2120c73c51a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '426cbcf6-fa38-40bc-84ed-17351c998ae9', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '0'}], 'range': {}}, {'id': 'd4edec92-e250-4ba3-a94c-25ae3ce0bc09', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': 'de514259-a770-46d1-8544-29509a14e2fe', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '1'}], 'range': {}}]}, {'id': '4ba4228f-f558-4647-b695-1a8f4e280037', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'color-temperature', 'type': 'category', 'schedulable': False, 'values': [{'id': '04f971f6-9aac-4547-b57a-38d18e09a591', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '6500K', 'deviceValues': [{'id': 'c470b408-2356-4d3b-a89e-8904d3e46da3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '6500'}], 'range': {}}, {'id': '7e91de25-91ac-44b6-a634-2341457e7a95', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3000K', 'deviceValues': [{'id': '7185b668-3528-4acd-8fe4-956533bdceed', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3000'}], 'range': {}}, {'id': '48913ca0-a39b-4e03-af73-2a57dc776b5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '2700K', 'deviceValues': [{'id': 'dff568e9-50af-4438-a254-0d3de2779aec', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '2700'}], 'range': {}}, {'id': 'dd910308-900e-4c36-aebf-7e76769ccb7b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '5000K', 'deviceValues': [{'id': 'acd4fecb-07d1-4fe7-a37a-ec64bdf52271', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '5000'}], 'range': {}}, {'id': '66396e98-6e43-4098-a0ac-e7fdeeddfc7d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '4000K', 'deviceValues': [{'id': '69961c04-3a1e-4e43-b56e-ec5cc18bf8aa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '4000'}], 'range': {}}, {'id': '5f834fce-2cf1-4484-bd52-c59e559b2972', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3500K', 'deviceValues': [{'id': '405a9a3a-13ad-4a97-b53d-8568b651af0f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3500'}], 'range': {}}]}, {'id': 'adba009a-0290-4e68-8bb1-d288c20daa8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'brightness', 'type': 'numeric', 'schedulable': True, 'values': [{'id': 'e1fa9652-1f16-4d57-82fd-7b6c01dee96d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'brightness', 'deviceValues': [{'id': '8e1da2e0-c635-4308-b8db-67b9d3afeaaf', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '4'}], 'range': {'min': 1, 'max': 100, 'step': 1}}]}]
2024-02-29 18:58:04.242 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Light Name: 
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Guest Room Fan Light
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId 2399d63c-51c0-48d1-a37d-9ef0d9230e5c
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: light
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Server Room Fan Light
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': 'b3493d82-84dd-4f0a-9f8d-9abfe8134019', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'light-power', 'type': 'category', 'schedulable': True, 'values': [{'id': 'fe7d2a18-75a5-4aa5-97cb-f2120c73c51a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '426cbcf6-fa38-40bc-84ed-17351c998ae9', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '0'}], 'range': {}}, {'id': 'd4edec92-e250-4ba3-a94c-25ae3ce0bc09', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': 'de514259-a770-46d1-8544-29509a14e2fe', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '1'}], 'range': {}}]}, {'id': '4ba4228f-f558-4647-b695-1a8f4e280037', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'color-temperature', 'type': 'category', 'schedulable': False, 'values': [{'id': '04f971f6-9aac-4547-b57a-38d18e09a591', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '6500K', 'deviceValues': [{'id': 'c470b408-2356-4d3b-a89e-8904d3e46da3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '6500'}], 'range': {}}, {'id': '7e91de25-91ac-44b6-a634-2341457e7a95', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3000K', 'deviceValues': [{'id': '7185b668-3528-4acd-8fe4-956533bdceed', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3000'}], 'range': {}}, {'id': '48913ca0-a39b-4e03-af73-2a57dc776b5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '2700K', 'deviceValues': [{'id': 'dff568e9-50af-4438-a254-0d3de2779aec', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '2700'}], 'range': {}}, {'id': 'dd910308-900e-4c36-aebf-7e76769ccb7b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '5000K', 'deviceValues': [{'id': 'acd4fecb-07d1-4fe7-a37a-ec64bdf52271', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '5000'}], 'range': {}}, {'id': '66396e98-6e43-4098-a0ac-e7fdeeddfc7d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '4000K', 'deviceValues': [{'id': '69961c04-3a1e-4e43-b56e-ec5cc18bf8aa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '4000'}], 'range': {}}, {'id': '5f834fce-2cf1-4484-bd52-c59e559b2972', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3500K', 'deviceValues': [{'id': '405a9a3a-13ad-4a97-b53d-8568b651af0f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3500'}], 'range': {}}]}, {'id': 'adba009a-0290-4e68-8bb1-d288c20daa8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'brightness', 'type': 'numeric', 'schedulable': True, 'values': [{'id': 'e1fa9652-1f16-4d57-82fd-7b6c01dee96d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'brightness', 'deviceValues': [{'id': '8e1da2e0-c635-4308-b8db-67b9d3afeaaf', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '4'}], 'range': {'min': 1, 'max': 100, 'step': 1}}]}]
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Light Name: 
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Server Room Fan Light
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId 31c2ed7b-50b7-452d-9dcc-3abb4cad0975
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Server Room Fan
2024-02-29 18:58:04.243 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': 'f9771914-12fa-4cfb-9d4e-8651f0a36170', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'storage-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': 'fe1be587-b8c5-440c-8be5-bc96f98cf425', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'storage-error', 'deviceValues': [{'id': 'a5dfc44b-bafb-48e4-a0e6-b699c99ef791', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '405'}], 'range': {}}]}, {'id': '9256dc8e-52d7-4b8a-baf6-ce744c907f2b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'primary', 'type': 'category', 'schedulable': True, 'values': [{'id': '46f591a4-d45b-439a-b3b7-52c1195d3b2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '2e2617a7-e6fa-441b-8914-2d4f937ba8cc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '1'}], 'range': {}}, {'id': 'd09a70f4-470a-4214-bfe1-524326e25b99', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '8f14f218-8a5a-48da-aa3c-a5c2484eef5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '0'}], 'range': {}}]}, {'id': '25d5b4fb-a1b8-4130-97b6-fa9f1c8cefda', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'acz-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': '1a9a6676-7762-4ed7-909f-a91ea73e28fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'no-error', 'deviceValues': [{'id': '99558636-8c55-4f5a-9afd-8adb2463a71f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '406'}], 'range': {}}]}]
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId b9a21495-0a98-4843-b793-de28a69b4df4
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: fan
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Camille Office Fan
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': '3356d331-4bab-4986-9018-0c7c4a8dd9ee', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'toggle', 'functionInstance': 'comfort-breeze', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e7ab8437-7658-4299-a375-8cd375db25a3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'enabled', 'deviceValues': [{'id': 'ca7651ce-6617-46f4-9010-36a210111c72', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '1'}], 'range': {}}, {'id': 'b2cf52c2-034b-4e2e-af91-d396a7fa69b3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'disabled', 'deviceValues': [{'id': 'd9268204-7dc6-490e-9912-22becc2612f3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '0'}], 'range': {}}]}, {'id': 'f5f2f4eb-ea67-47dd-bd8f-2e4a2d00a334', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'timer', 'functionInstance': 'fan-power', 'type': 'numeric', 'schedulable': False, 'values': [{'id': 'c99c4010-a5ca-4db8-8d64-819e0c64f6b7', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'timer-1', 'deviceValues': [{'id': 'c5415910-1c3c-4392-9ee3-846a43c8a939', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '50'}], 'range': {'min': 0, 'max': 1440, 'step': 1}}]}, {'id': 'fd6e65b0-18e1-4e0f-adfa-4016e79257c1', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-speed', 'functionInstance': 'fan-speed', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e2c67b97-dba4-4093-8835-4ec9d812e9fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-033', 'deviceValues': [{'id': 'c477706f-ba01-46e5-a3a6-cdfe5ac33e2f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '33'}], 'range': {}}, {'id': '7850da8b-6092-40f2-8148-40b46e57f33c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-100', 'deviceValues': [{'id': 'a3c125c3-7438-4179-85c5-cb22ed29844c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '100'}], 'range': {}}, {'id': '14c317f7-c2a8-4723-9fe0-5a65707c3963', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-016', 'deviceValues': [{'id': 'fad1fe60-b1dc-4bc3-ab26-6cb0d7f2edc4', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '16'}], 'range': {}}, {'id': '8a727615-176d-4eab-9406-43318e329f2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-050', 'deviceValues': [{'id': 'ed9eaa4e-25a6-400d-8396-7c49ee872a4b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '50'}], 'range': {}}, {'id': '951dfeb3-6dd2-4200-a5eb-1b754069086d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-000', 'hints': ['hidden'], 'deviceValues': [{'id': '435da332-f4c6-4241-a2a7-04ab9d8cda8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '0'}], 'range': {}}, {'id': '4d903789-a579-4e7d-8cef-4027f19ab837', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-083', 'deviceValues': [{'id': '16bc50d2-89f9-400e-8351-3e3df0d83d34', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '83'}], 'range': {}}, {'id': '87a5e1f5-2ec2-4e11-bf9d-a314da61e950', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-066', 'deviceValues': [{'id': 'afecee58-8bb7-488a-a320-726c9b2fb802', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '66'}], 'range': {}}]}, {'id': 'b3c0cadc-a2f7-4b41-8d7d-a65f94456a9b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-reverse', 'functionInstance': 'fan-reverse', 'type': 'category', 'schedulable': False, 'values': [{'id': 'bfaaf698-2381-40f7-92ef-6e564b4cca02', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'reverse', 'deviceValues': [{'id': 'b3d27707-fb07-4e9a-8d4c-d8c51295dba6', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '1'}], 'range': {}}, {'id': 'e8101884-5e7c-4cc7-9926-5df68308842b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'forward', 'deviceValues': [{'id': 'ebec241e-8cec-47e9-851e-d0c7cb5723fc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '0'}], 'range': {}}, {'id': '0690169b-3226-44d2-992b-a875762f9f82', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'in-progress', 'hints': ['voice-hidden'], 'deviceValues': [{'id': '97095d1a-c558-415f-85c0-479e97fd3052', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '2'}], 'range': {}}]}, {'id': '8b22dc37-2887-4abb-994f-84ea36282572', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'fan-power', 'type': 'category', 'schedulable': True, 'values': [{'id': '5288f3c4-ad36-4aa1-94a2-5e634ee4d14c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '38d9ba39-7f43-41bc-a58a-416eb9de5d7c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '0'}], 'range': {}}, {'id': 'b2dca44b-103c-4405-a0bd-b2586366f27d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '7f7a0c5e-053c-4e2c-ab9c-d3dbfcd0b97d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '1'}], 'range': {}}]}]
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] childId f3c5c24e-3588-4bb0-b9b8-08d0c037632b
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] deviceClass: fan
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] friendlyName: Guest Room Fan
2024-02-29 18:58:04.244 DEBUG (SyncWorker_38) [custom_components.hubspace.light] functions: [{'id': '3356d331-4bab-4986-9018-0c7c4a8dd9ee', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'toggle', 'functionInstance': 'comfort-breeze', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e7ab8437-7658-4299-a375-8cd375db25a3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'enabled', 'deviceValues': [{'id': 'ca7651ce-6617-46f4-9010-36a210111c72', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '1'}], 'range': {}}, {'id': 'b2cf52c2-034b-4e2e-af91-d396a7fa69b3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'disabled', 'deviceValues': [{'id': 'd9268204-7dc6-490e-9912-22becc2612f3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '0'}], 'range': {}}]}, {'id': 'f5f2f4eb-ea67-47dd-bd8f-2e4a2d00a334', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'timer', 'functionInstance': 'fan-power', 'type': 'numeric', 'schedulable': False, 'values': [{'id': 'c99c4010-a5ca-4db8-8d64-819e0c64f6b7', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'timer-1', 'deviceValues': [{'id': 'c5415910-1c3c-4392-9ee3-846a43c8a939', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '50'}], 'range': {'min': 0, 'max': 1440, 'step': 1}}]}, {'id': 'fd6e65b0-18e1-4e0f-adfa-4016e79257c1', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-speed', 'functionInstance': 'fan-speed', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e2c67b97-dba4-4093-8835-4ec9d812e9fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-033', 'deviceValues': [{'id': 'c477706f-ba01-46e5-a3a6-cdfe5ac33e2f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '33'}], 'range': {}}, {'id': '7850da8b-6092-40f2-8148-40b46e57f33c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-100', 'deviceValues': [{'id': 'a3c125c3-7438-4179-85c5-cb22ed29844c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '100'}], 'range': {}}, {'id': '14c317f7-c2a8-4723-9fe0-5a65707c3963', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-016', 'deviceValues': [{'id': 'fad1fe60-b1dc-4bc3-ab26-6cb0d7f2edc4', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '16'}], 'range': {}}, {'id': '8a727615-176d-4eab-9406-43318e329f2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-050', 'deviceValues': [{'id': 'ed9eaa4e-25a6-400d-8396-7c49ee872a4b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '50'}], 'range': {}}, {'id': '951dfeb3-6dd2-4200-a5eb-1b754069086d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-000', 'hints': ['hidden'], 'deviceValues': [{'id': '435da332-f4c6-4241-a2a7-04ab9d8cda8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '0'}], 'range': {}}, {'id': '4d903789-a579-4e7d-8cef-4027f19ab837', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-083', 'deviceValues': [{'id': '16bc50d2-89f9-400e-8351-3e3df0d83d34', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '83'}], 'range': {}}, {'id': '87a5e1f5-2ec2-4e11-bf9d-a314da61e950', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-066', 'deviceValues': [{'id': 'afecee58-8bb7-488a-a320-726c9b2fb802', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '66'}], 'range': {}}]}, {'id': 'b3c0cadc-a2f7-4b41-8d7d-a65f94456a9b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-reverse', 'functionInstance': 'fan-reverse', 'type': 'category', 'schedulable': False, 'values': [{'id': 'bfaaf698-2381-40f7-92ef-6e564b4cca02', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'reverse', 'deviceValues': [{'id': 'b3d27707-fb07-4e9a-8d4c-d8c51295dba6', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '1'}], 'range': {}}, {'id': 'e8101884-5e7c-4cc7-9926-5df68308842b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'forward', 'deviceValues': [{'id': 'ebec241e-8cec-47e9-851e-d0c7cb5723fc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '0'}], 'range': {}}, {'id': '0690169b-3226-44d2-992b-a875762f9f82', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'in-progress', 'hints': ['voice-hidden'], 'deviceValues': [{'id': '97095d1a-c558-415f-85c0-479e97fd3052', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '2'}], 'range': {}}]}, {'id': '8b22dc37-2887-4abb-994f-84ea36282572', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'fan-power', 'type': 'category', 'schedulable': True, 'values': [{'id': '5288f3c4-ad36-4aa1-94a2-5e634ee4d14c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '38d9ba39-7f43-41bc-a58a-416eb9de5d7c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '0'}], 'range': {}}, {'id': 'b2dca44b-103c-4405-a0bd-b2586366f27d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '7f7a0c5e-053c-4e2c-ab9c-d3dbfcd0b97d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '1'}], 'range': {}}]}]

Logs after removing the whole if statement:

2024-02-29 19:04:50.266 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId ef6f9b6e-e643-4f05-b2bd-402030fb1c7a
2024-02-29 19:04:50.266 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.266 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-02-29 19:04:50.266 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: light
2024-02-29 19:04:50.266 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Guest Room Fan Light
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': 'b3493d82-84dd-4f0a-9f8d-9abfe8134019', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'light-power', 'type': 'category', 'schedulable': True, 'values': [{'id': 'fe7d2a18-75a5-4aa5-97cb-f2120c73c51a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '426cbcf6-fa38-40bc-84ed-17351c998ae9', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '0'}], 'range': {}}, {'id': 'd4edec92-e250-4ba3-a94c-25ae3ce0bc09', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': 'de514259-a770-46d1-8544-29509a14e2fe', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '1'}], 'range': {}}]}, {'id': '4ba4228f-f558-4647-b695-1a8f4e280037', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'color-temperature', 'type': 'category', 'schedulable': False, 'values': [{'id': '04f971f6-9aac-4547-b57a-38d18e09a591', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '6500K', 'deviceValues': [{'id': 'c470b408-2356-4d3b-a89e-8904d3e46da3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '6500'}], 'range': {}}, {'id': '7e91de25-91ac-44b6-a634-2341457e7a95', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3000K', 'deviceValues': [{'id': '7185b668-3528-4acd-8fe4-956533bdceed', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3000'}], 'range': {}}, {'id': '48913ca0-a39b-4e03-af73-2a57dc776b5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '2700K', 'deviceValues': [{'id': 'dff568e9-50af-4438-a254-0d3de2779aec', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '2700'}], 'range': {}}, {'id': 'dd910308-900e-4c36-aebf-7e76769ccb7b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '5000K', 'deviceValues': [{'id': 'acd4fecb-07d1-4fe7-a37a-ec64bdf52271', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '5000'}], 'range': {}}, {'id': '66396e98-6e43-4098-a0ac-e7fdeeddfc7d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '4000K', 'deviceValues': [{'id': '69961c04-3a1e-4e43-b56e-ec5cc18bf8aa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '4000'}], 'range': {}}, {'id': '5f834fce-2cf1-4484-bd52-c59e559b2972', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3500K', 'deviceValues': [{'id': '405a9a3a-13ad-4a97-b53d-8568b651af0f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3500'}], 'range': {}}]}, {'id': 'adba009a-0290-4e68-8bb1-d288c20daa8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'brightness', 'type': 'numeric', 'schedulable': True, 'values': [{'id': 'e1fa9652-1f16-4d57-82fd-7b6c01dee96d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'brightness', 'deviceValues': [{'id': '8e1da2e0-c635-4308-b8db-67b9d3afeaaf', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '4'}], 'range': {'min': 1, 'max': 100, 'step': 1}}]}]
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Light Name: 
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Guest Room Fan Light
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId 31c2ed7b-50b7-452d-9dcc-3abb4cad0975
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Server Room Fan
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': 'f9771914-12fa-4cfb-9d4e-8651f0a36170', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'storage-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': 'fe1be587-b8c5-440c-8be5-bc96f98cf425', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'storage-error', 'deviceValues': [{'id': 'a5dfc44b-bafb-48e4-a0e6-b699c99ef791', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '405'}], 'range': {}}]}, {'id': '9256dc8e-52d7-4b8a-baf6-ce744c907f2b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'primary', 'type': 'category', 'schedulable': True, 'values': [{'id': '46f591a4-d45b-439a-b3b7-52c1195d3b2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '2e2617a7-e6fa-441b-8914-2d4f937ba8cc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '1'}], 'range': {}}, {'id': 'd09a70f4-470a-4214-bfe1-524326e25b99', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '8f14f218-8a5a-48da-aa3c-a5c2484eef5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '0'}], 'range': {}}]}, {'id': '25d5b4fb-a1b8-4130-97b6-fa9f1c8cefda', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'acz-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': '1a9a6676-7762-4ed7-909f-a91ea73e28fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'no-error', 'deviceValues': [{'id': '99558636-8c55-4f5a-9afd-8adb2463a71f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '406'}], 'range': {}}]}]
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId c8ff0692-6fe6-4279-9bb2-acaa8fa50efc
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.267 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-02-29 19:04:50.268 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: fan
2024-02-29 19:04:50.268 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Server Room Fan
2024-02-29 19:04:50.268 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': '3356d331-4bab-4986-9018-0c7c4a8dd9ee', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'toggle', 'functionInstance': 'comfort-breeze', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e7ab8437-7658-4299-a375-8cd375db25a3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'enabled', 'deviceValues': [{'id': 'ca7651ce-6617-46f4-9010-36a210111c72', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '1'}], 'range': {}}, {'id': 'b2cf52c2-034b-4e2e-af91-d396a7fa69b3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'disabled', 'deviceValues': [{'id': 'd9268204-7dc6-490e-9912-22becc2612f3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '0'}], 'range': {}}]}, {'id': 'f5f2f4eb-ea67-47dd-bd8f-2e4a2d00a334', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'timer', 'functionInstance': 'fan-power', 'type': 'numeric', 'schedulable': False, 'values': [{'id': 'c99c4010-a5ca-4db8-8d64-819e0c64f6b7', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'timer-1', 'deviceValues': [{'id': 'c5415910-1c3c-4392-9ee3-846a43c8a939', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '50'}], 'range': {'min': 0, 'max': 1440, 'step': 1}}]}, {'id': 'fd6e65b0-18e1-4e0f-adfa-4016e79257c1', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-speed', 'functionInstance': 'fan-speed', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e2c67b97-dba4-4093-8835-4ec9d812e9fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-033', 'deviceValues': [{'id': 'c477706f-ba01-46e5-a3a6-cdfe5ac33e2f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '33'}], 'range': {}}, {'id': '7850da8b-6092-40f2-8148-40b46e57f33c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-100', 'deviceValues': [{'id': 'a3c125c3-7438-4179-85c5-cb22ed29844c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '100'}], 'range': {}}, {'id': '14c317f7-c2a8-4723-9fe0-5a65707c3963', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-016', 'deviceValues': [{'id': 'fad1fe60-b1dc-4bc3-ab26-6cb0d7f2edc4', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '16'}], 'range': {}}, {'id': '8a727615-176d-4eab-9406-43318e329f2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-050', 'deviceValues': [{'id': 'ed9eaa4e-25a6-400d-8396-7c49ee872a4b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '50'}], 'range': {}}, {'id': '951dfeb3-6dd2-4200-a5eb-1b754069086d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-000', 'hints': ['hidden'], 'deviceValues': [{'id': '435da332-f4c6-4241-a2a7-04ab9d8cda8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '0'}], 'range': {}}, {'id': '4d903789-a579-4e7d-8cef-4027f19ab837', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-083', 'deviceValues': [{'id': '16bc50d2-89f9-400e-8351-3e3df0d83d34', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '83'}], 'range': {}}, {'id': '87a5e1f5-2ec2-4e11-bf9d-a314da61e950', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-066', 'deviceValues': [{'id': 'afecee58-8bb7-488a-a320-726c9b2fb802', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '66'}], 'range': {}}]}, {'id': 'b3c0cadc-a2f7-4b41-8d7d-a65f94456a9b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-reverse', 'functionInstance': 'fan-reverse', 'type': 'category', 'schedulable': False, 'values': [{'id': 'bfaaf698-2381-40f7-92ef-6e564b4cca02', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'reverse', 'deviceValues': [{'id': 'b3d27707-fb07-4e9a-8d4c-d8c51295dba6', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '1'}], 'range': {}}, {'id': 'e8101884-5e7c-4cc7-9926-5df68308842b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'forward', 'deviceValues': [{'id': 'ebec241e-8cec-47e9-851e-d0c7cb5723fc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '0'}], 'range': {}}, {'id': '0690169b-3226-44d2-992b-a875762f9f82', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'in-progress', 'hints': ['voice-hidden'], 'deviceValues': [{'id': '97095d1a-c558-415f-85c0-479e97fd3052', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '2'}], 'range': {}}]}, {'id': '8b22dc37-2887-4abb-994f-84ea36282572', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'fan-power', 'type': 'category', 'schedulable': True, 'values': [{'id': '5288f3c4-ad36-4aa1-94a2-5e634ee4d14c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '38d9ba39-7f43-41bc-a58a-416eb9de5d7c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '0'}], 'range': {}}, {'id': 'b2dca44b-103c-4405-a0bd-b2586366f27d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '7f7a0c5e-053c-4e2c-ab9c-d3dbfcd0b97d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '1'}], 'range': {}}]}]
2024-02-29 19:04:50.268 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId b9a21495-0a98-4843-b793-de28a69b4df4
2024-02-29 19:04:50.269 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.269 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-02-29 19:04:50.269 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: fan
2024-02-29 19:04:50.269 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Camille Office Fan
2024-02-29 19:04:50.269 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': '3356d331-4bab-4986-9018-0c7c4a8dd9ee', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'toggle', 'functionInstance': 'comfort-breeze', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e7ab8437-7658-4299-a375-8cd375db25a3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'enabled', 'deviceValues': [{'id': 'ca7651ce-6617-46f4-9010-36a210111c72', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '1'}], 'range': {}}, {'id': 'b2cf52c2-034b-4e2e-af91-d396a7fa69b3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'disabled', 'deviceValues': [{'id': 'd9268204-7dc6-490e-9912-22becc2612f3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '0'}], 'range': {}}]}, {'id': 'f5f2f4eb-ea67-47dd-bd8f-2e4a2d00a334', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'timer', 'functionInstance': 'fan-power', 'type': 'numeric', 'schedulable': False, 'values': [{'id': 'c99c4010-a5ca-4db8-8d64-819e0c64f6b7', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'timer-1', 'deviceValues': [{'id': 'c5415910-1c3c-4392-9ee3-846a43c8a939', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '50'}], 'range': {'min': 0, 'max': 1440, 'step': 1}}]}, {'id': 'fd6e65b0-18e1-4e0f-adfa-4016e79257c1', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-speed', 'functionInstance': 'fan-speed', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e2c67b97-dba4-4093-8835-4ec9d812e9fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-033', 'deviceValues': [{'id': 'c477706f-ba01-46e5-a3a6-cdfe5ac33e2f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '33'}], 'range': {}}, {'id': '7850da8b-6092-40f2-8148-40b46e57f33c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-100', 'deviceValues': [{'id': 'a3c125c3-7438-4179-85c5-cb22ed29844c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '100'}], 'range': {}}, {'id': '14c317f7-c2a8-4723-9fe0-5a65707c3963', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-016', 'deviceValues': [{'id': 'fad1fe60-b1dc-4bc3-ab26-6cb0d7f2edc4', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '16'}], 'range': {}}, {'id': '8a727615-176d-4eab-9406-43318e329f2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-050', 'deviceValues': [{'id': 'ed9eaa4e-25a6-400d-8396-7c49ee872a4b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '50'}], 'range': {}}, {'id': '951dfeb3-6dd2-4200-a5eb-1b754069086d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-000', 'hints': ['hidden'], 'deviceValues': [{'id': '435da332-f4c6-4241-a2a7-04ab9d8cda8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '0'}], 'range': {}}, {'id': '4d903789-a579-4e7d-8cef-4027f19ab837', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-083', 'deviceValues': [{'id': '16bc50d2-89f9-400e-8351-3e3df0d83d34', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '83'}], 'range': {}}, {'id': '87a5e1f5-2ec2-4e11-bf9d-a314da61e950', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-066', 'deviceValues': [{'id': 'afecee58-8bb7-488a-a320-726c9b2fb802', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '66'}], 'range': {}}]}, {'id': 'b3c0cadc-a2f7-4b41-8d7d-a65f94456a9b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-reverse', 'functionInstance': 'fan-reverse', 'type': 'category', 'schedulable': False, 'values': [{'id': 'bfaaf698-2381-40f7-92ef-6e564b4cca02', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'reverse', 'deviceValues': [{'id': 'b3d27707-fb07-4e9a-8d4c-d8c51295dba6', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '1'}], 'range': {}}, {'id': 'e8101884-5e7c-4cc7-9926-5df68308842b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'forward', 'deviceValues': [{'id': 'ebec241e-8cec-47e9-851e-d0c7cb5723fc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '0'}], 'range': {}}, {'id': '0690169b-3226-44d2-992b-a875762f9f82', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'in-progress', 'hints': ['voice-hidden'], 'deviceValues': [{'id': '97095d1a-c558-415f-85c0-479e97fd3052', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '2'}], 'range': {}}]}, {'id': '8b22dc37-2887-4abb-994f-84ea36282572', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'fan-power', 'type': 'category', 'schedulable': True, 'values': [{'id': '5288f3c4-ad36-4aa1-94a2-5e634ee4d14c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '38d9ba39-7f43-41bc-a58a-416eb9de5d7c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '0'}], 'range': {}}, {'id': 'b2dca44b-103c-4405-a0bd-b2586366f27d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '7f7a0c5e-053c-4e2c-ab9c-d3dbfcd0b97d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '1'}], 'range': {}}]}]
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId 8f45dba1-de15-4642-979a-1363f4ad8ad1
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Guest Room Fan
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': 'f9771914-12fa-4cfb-9d4e-8651f0a36170', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'storage-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': 'fe1be587-b8c5-440c-8be5-bc96f98cf425', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'storage-error', 'deviceValues': [{'id': 'a5dfc44b-bafb-48e4-a0e6-b699c99ef791', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '405'}], 'range': {}}]}, {'id': '9256dc8e-52d7-4b8a-baf6-ce744c907f2b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'primary', 'type': 'category', 'schedulable': True, 'values': [{'id': '46f591a4-d45b-439a-b3b7-52c1195d3b2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '2e2617a7-e6fa-441b-8914-2d4f937ba8cc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '1'}], 'range': {}}, {'id': 'd09a70f4-470a-4214-bfe1-524326e25b99', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '8f14f218-8a5a-48da-aa3c-a5c2484eef5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '0'}], 'range': {}}]}, {'id': '25d5b4fb-a1b8-4130-97b6-fa9f1c8cefda', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'acz-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': '1a9a6676-7762-4ed7-909f-a91ea73e28fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'no-error', 'deviceValues': [{'id': '99558636-8c55-4f5a-9afd-8adb2463a71f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '406'}], 'range': {}}]}]
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId 2399d63c-51c0-48d1-a37d-9ef0d9230e5c
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: light
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Server Room Fan Light
2024-02-29 19:04:50.270 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': 'b3493d82-84dd-4f0a-9f8d-9abfe8134019', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'light-power', 'type': 'category', 'schedulable': True, 'values': [{'id': 'fe7d2a18-75a5-4aa5-97cb-f2120c73c51a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '426cbcf6-fa38-40bc-84ed-17351c998ae9', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '0'}], 'range': {}}, {'id': 'd4edec92-e250-4ba3-a94c-25ae3ce0bc09', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': 'de514259-a770-46d1-8544-29509a14e2fe', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '1'}], 'range': {}}]}, {'id': '4ba4228f-f558-4647-b695-1a8f4e280037', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'color-temperature', 'type': 'category', 'schedulable': False, 'values': [{'id': '04f971f6-9aac-4547-b57a-38d18e09a591', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '6500K', 'deviceValues': [{'id': 'c470b408-2356-4d3b-a89e-8904d3e46da3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '6500'}], 'range': {}}, {'id': '7e91de25-91ac-44b6-a634-2341457e7a95', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3000K', 'deviceValues': [{'id': '7185b668-3528-4acd-8fe4-956533bdceed', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3000'}], 'range': {}}, {'id': '48913ca0-a39b-4e03-af73-2a57dc776b5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '2700K', 'deviceValues': [{'id': 'dff568e9-50af-4438-a254-0d3de2779aec', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '2700'}], 'range': {}}, {'id': 'dd910308-900e-4c36-aebf-7e76769ccb7b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '5000K', 'deviceValues': [{'id': 'acd4fecb-07d1-4fe7-a37a-ec64bdf52271', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '5000'}], 'range': {}}, {'id': '66396e98-6e43-4098-a0ac-e7fdeeddfc7d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '4000K', 'deviceValues': [{'id': '69961c04-3a1e-4e43-b56e-ec5cc18bf8aa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '4000'}], 'range': {}}, {'id': '5f834fce-2cf1-4484-bd52-c59e559b2972', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3500K', 'deviceValues': [{'id': '405a9a3a-13ad-4a97-b53d-8568b651af0f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3500'}], 'range': {}}]}, {'id': 'adba009a-0290-4e68-8bb1-d288c20daa8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'brightness', 'type': 'numeric', 'schedulable': True, 'values': [{'id': 'e1fa9652-1f16-4d57-82fd-7b6c01dee96d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'brightness', 'deviceValues': [{'id': '8e1da2e0-c635-4308-b8db-67b9d3afeaaf', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '4'}], 'range': {'min': 1, 'max': 100, 'step': 1}}]}]
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Light Name: 
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Server Room Fan Light
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId 140be9a8-4e1c-4a93-a61d-1b3f9c0e2254
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Camille Office Fan
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': 'f9771914-12fa-4cfb-9d4e-8651f0a36170', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'storage-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': 'fe1be587-b8c5-440c-8be5-bc96f98cf425', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'storage-error', 'deviceValues': [{'id': 'a5dfc44b-bafb-48e4-a0e6-b699c99ef791', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '405'}], 'range': {}}]}, {'id': '9256dc8e-52d7-4b8a-baf6-ce744c907f2b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'primary', 'type': 'category', 'schedulable': True, 'values': [{'id': '46f591a4-d45b-439a-b3b7-52c1195d3b2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '2e2617a7-e6fa-441b-8914-2d4f937ba8cc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '1'}], 'range': {}}, {'id': 'd09a70f4-470a-4214-bfe1-524326e25b99', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '8f14f218-8a5a-48da-aa3c-a5c2484eef5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '1', 'value': '0'}], 'range': {}}]}, {'id': '25d5b4fb-a1b8-4130-97b6-fa9f1c8cefda', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'error-flag', 'functionInstance': 'acz-error', 'type': 'boolean', 'schedulable': False, 'values': [{'id': '1a9a6676-7762-4ed7-909f-a91ea73e28fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'no-error', 'deviceValues': [{'id': '99558636-8c55-4f5a-9afd-8adb2463a71f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '406'}], 'range': {}}]}]
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId f62398a4-067e-406e-b447-7ddd0cfc7308
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: light
2024-02-29 19:04:50.271 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Camille Office Light
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': 'b3493d82-84dd-4f0a-9f8d-9abfe8134019', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'light-power', 'type': 'category', 'schedulable': True, 'values': [{'id': 'fe7d2a18-75a5-4aa5-97cb-f2120c73c51a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '426cbcf6-fa38-40bc-84ed-17351c998ae9', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '0'}], 'range': {}}, {'id': 'd4edec92-e250-4ba3-a94c-25ae3ce0bc09', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': 'de514259-a770-46d1-8544-29509a14e2fe', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '2', 'value': '1'}], 'range': {}}]}, {'id': '4ba4228f-f558-4647-b695-1a8f4e280037', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'color-temperature', 'type': 'category', 'schedulable': False, 'values': [{'id': '04f971f6-9aac-4547-b57a-38d18e09a591', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '6500K', 'deviceValues': [{'id': 'c470b408-2356-4d3b-a89e-8904d3e46da3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '6500'}], 'range': {}}, {'id': '7e91de25-91ac-44b6-a634-2341457e7a95', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3000K', 'deviceValues': [{'id': '7185b668-3528-4acd-8fe4-956533bdceed', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3000'}], 'range': {}}, {'id': '48913ca0-a39b-4e03-af73-2a57dc776b5a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '2700K', 'deviceValues': [{'id': 'dff568e9-50af-4438-a254-0d3de2779aec', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '2700'}], 'range': {}}, {'id': 'dd910308-900e-4c36-aebf-7e76769ccb7b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '5000K', 'deviceValues': [{'id': 'acd4fecb-07d1-4fe7-a37a-ec64bdf52271', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '5000'}], 'range': {}}, {'id': '66396e98-6e43-4098-a0ac-e7fdeeddfc7d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '4000K', 'deviceValues': [{'id': '69961c04-3a1e-4e43-b56e-ec5cc18bf8aa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '4000'}], 'range': {}}, {'id': '5f834fce-2cf1-4484-bd52-c59e559b2972', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': '3500K', 'deviceValues': [{'id': '405a9a3a-13ad-4a97-b53d-8568b651af0f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '5', 'value': '3500'}], 'range': {}}]}, {'id': 'adba009a-0290-4e68-8bb1-d288c20daa8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'brightness', 'type': 'numeric', 'schedulable': True, 'values': [{'id': 'e1fa9652-1f16-4d57-82fd-7b6c01dee96d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'brightness', 'deviceValues': [{'id': '8e1da2e0-c635-4308-b8db-67b9d3afeaaf', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '4'}], 'range': {'min': 1, 'max': 100, 'step': 1}}]}]
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Light Name: 
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Camille Office Light
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] childId f3c5c24e-3588-4bb0-b9b8-08d0c037632b
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] Switch on Model TBD
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] deviceClass: fan
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] friendlyName: Guest Room Fan
2024-02-29 19:04:50.272 DEBUG (SyncWorker_36) [custom_components.hubspace.light] functions: [{'id': '3356d331-4bab-4986-9018-0c7c4a8dd9ee', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'toggle', 'functionInstance': 'comfort-breeze', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e7ab8437-7658-4299-a375-8cd375db25a3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'enabled', 'deviceValues': [{'id': 'ca7651ce-6617-46f4-9010-36a210111c72', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '1'}], 'range': {}}, {'id': 'b2cf52c2-034b-4e2e-af91-d396a7fa69b3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'disabled', 'deviceValues': [{'id': 'd9268204-7dc6-490e-9912-22becc2612f3', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '8', 'value': '0'}], 'range': {}}]}, {'id': 'f5f2f4eb-ea67-47dd-bd8f-2e4a2d00a334', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'timer', 'functionInstance': 'fan-power', 'type': 'numeric', 'schedulable': False, 'values': [{'id': 'c99c4010-a5ca-4db8-8d64-819e0c64f6b7', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'timer-1', 'deviceValues': [{'id': 'c5415910-1c3c-4392-9ee3-846a43c8a939', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '50'}], 'range': {'min': 0, 'max': 1440, 'step': 1}}]}, {'id': 'fd6e65b0-18e1-4e0f-adfa-4016e79257c1', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-speed', 'functionInstance': 'fan-speed', 'type': 'category', 'schedulable': True, 'values': [{'id': 'e2c67b97-dba4-4093-8835-4ec9d812e9fa', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-033', 'deviceValues': [{'id': 'c477706f-ba01-46e5-a3a6-cdfe5ac33e2f', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '33'}], 'range': {}}, {'id': '7850da8b-6092-40f2-8148-40b46e57f33c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-100', 'deviceValues': [{'id': 'a3c125c3-7438-4179-85c5-cb22ed29844c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '100'}], 'range': {}}, {'id': '14c317f7-c2a8-4723-9fe0-5a65707c3963', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-016', 'deviceValues': [{'id': 'fad1fe60-b1dc-4bc3-ab26-6cb0d7f2edc4', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '16'}], 'range': {}}, {'id': '8a727615-176d-4eab-9406-43318e329f2a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-050', 'deviceValues': [{'id': 'ed9eaa4e-25a6-400d-8396-7c49ee872a4b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '50'}], 'range': {}}, {'id': '951dfeb3-6dd2-4200-a5eb-1b754069086d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-000', 'hints': ['hidden'], 'deviceValues': [{'id': '435da332-f4c6-4241-a2a7-04ab9d8cda8a', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '0'}], 'range': {}}, {'id': '4d903789-a579-4e7d-8cef-4027f19ab837', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-083', 'deviceValues': [{'id': '16bc50d2-89f9-400e-8351-3e3df0d83d34', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '83'}], 'range': {}}, {'id': '87a5e1f5-2ec2-4e11-bf9d-a314da61e950', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'fan-speed-6-066', 'deviceValues': [{'id': 'afecee58-8bb7-488a-a320-726c9b2fb802', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '6', 'value': '66'}], 'range': {}}]}, {'id': 'b3c0cadc-a2f7-4b41-8d7d-a65f94456a9b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'fan-reverse', 'functionInstance': 'fan-reverse', 'type': 'category', 'schedulable': False, 'values': [{'id': 'bfaaf698-2381-40f7-92ef-6e564b4cca02', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'reverse', 'deviceValues': [{'id': 'b3d27707-fb07-4e9a-8d4c-d8c51295dba6', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '1'}], 'range': {}}, {'id': 'e8101884-5e7c-4cc7-9926-5df68308842b', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'forward', 'deviceValues': [{'id': 'ebec241e-8cec-47e9-851e-d0c7cb5723fc', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '0'}], 'range': {}}, {'id': '0690169b-3226-44d2-992b-a875762f9f82', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'in-progress', 'hints': ['voice-hidden'], 'deviceValues': [{'id': '97095d1a-c558-415f-85c0-479e97fd3052', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '7', 'value': '2'}], 'range': {}}]}, {'id': '8b22dc37-2887-4abb-994f-84ea36282572', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'functionClass': 'power', 'functionInstance': 'fan-power', 'type': 'category', 'schedulable': True, 'values': [{'id': '5288f3c4-ad36-4aa1-94a2-5e634ee4d14c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'off', 'deviceValues': [{'id': '38d9ba39-7f43-41bc-a58a-416eb9de5d7c', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '0'}], 'range': {}}, {'id': 'b2dca44b-103c-4405-a0bd-b2586366f27d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'name': 'on', 'deviceValues': [{'id': '7f7a0c5e-053c-4e2c-ab9c-d3dbfcd0b97d', 'createdTimestampMs': 0, 'updatedTimestampMs': 0, 'type': 'attribute', 'key': '3', 'value': '1'}], 'range': {}}]}]

or maybe you meant to do something like

if deviceClass == "ceiling-fan" and model == "TBD":
                            model = "ZandraFan"
if model == "TBD":
                            model = "ZandraFan"

but that was still no change.

I'll take a look at code defining the model by icon. I was a bit confused because I feel that I should be hitting the conditions to be getting model=ZandraFan since I have Model TBD and deviceClass fan or ceiling-fan.

Thanks for your time with this. It's greatly appreciated.

MYanello avatar Mar 01 '24 01:03 MYanello

Glad removing the entities worked. I thought you could remove them in the Settings->Device and Services-> Entities tab.

The statement should read:

if model == "TBD":
     model = "ZandraFan"

That will force anything labeled TBD to be a Zanda. Then the light code should pick it up. It looks like the logs after you posted after "Logs after removing just the and part:" looks correct. It picked up all the lights/fans and named them correctly. Perhaps it is creating each one twice..and the logic that creates both a fan and a light is incorrect: https://github.com/jdeath/Hubspace-Homeassistant/blob/4170cf0de82b6cce859f8d31a3b0a9aaf648d20e/custom_components/hubspace/light.py#L98

Perhaps in hubspace.py it should force a ZandaFan and a ZandaLight model depending on the device class. Then the light.py code should just create separate entities, and not try to create both at once. I think that is the issue. I can try to code that up in a few days.

So basicaly you want: Hubspace.py

if deviceClass == "fan" and model == "TBD":
      model = "ZandraFan"
if deviceClass == "light" and model == "TBD":
      model = "ZandraLight"

Then in light.py change line 98 from:

elif model == "DriskolFan" or model == "ZandraFan" or model == "TagerFan":
        _LOGGER.debug("Creating Fan")
        entities.append(HubspaceFan(hs, friendlyName, debug))
        _LOGGER.debug("Creating Light")
        entities.append(HubspaceLight(hs, friendlyName, debug))   

to


elif model == "DriskolFan" or model == "TagerFan":
        _LOGGER.debug("Creating Fan")
        entities.append(HubspaceFan(hs, friendlyName, debug))
        _LOGGER.debug("Creating Light")
        entities.append(HubspaceLight(hs, friendlyName, debug))
elif model == "ZandaFan":
        _LOGGER.debug("Creating Fan")
        entities.append(HubspaceFan(hs, friendlyName, debug))  

also need to change old line 456 from: self._model == "ZandraFan" to self._model == "ZandraLight"

Hopefully that is clear. In a couple days I can try to post a version.

Also be sure you are specifying all the friendlynames in the configuration.yaml. There is no telling what the auto search is doing. I did not write that code and it could mess up the above logic.

jdeath avatar Mar 01 '24 01:03 jdeath

I thought you could remove them in the Settings->Device and Services-> Entities tab.

Normally you can. But I think since these entities are technically defined in yaml and not the UI, they can't be modified in the UI unless they are 'orphaned'

Ah I was not using FriendlyNames because of this:

If you have a combo fan/light, it is confirmed to work best if you do not use friendlyname or roomnames.

The model is correctly set to Zandra now after using those. No improvement on behavior within Hass though. I'll fully set up my env tomorrow and see what I can do. Thanks for the pointers here.

MYanello avatar Mar 01 '24 02:03 MYanello

Ok I've split out the definition into fan and light. I'm not seeing the light get picked up though. https://github.com/MYanello/Hubspace-Homeassistant/tree/zandra Dropping the token lines as those are probably sensitive:

2024-03-01 11:20:20.505 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Running getChildID
2024-03-01 11:20:21.047 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Applied model from getChildId: ZandraFan
2024-03-01 11:20:21.051 DEBUG (SyncWorker_54) [custom_components.hubspace.light] Switch on Model ZandraFan
2024-03-01 11:20:21.051 DEBUG (SyncWorker_54) [custom_components.hubspace.light] childId: 8f45dba1-de15-4642-979a-1363f4ad8ad1
2024-03-01 11:20:21.051 DEBUG (SyncWorker_54) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-03-01 11:20:21.051 DEBUG (SyncWorker_54) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-03-01 11:20:21.051 DEBUG (SyncWorker_54) [custom_components.hubspace.light] Creating Fan
2024-03-01 11:20:21.052 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Running getChildID
2024-03-01 11:20:21.436 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Applied model from getChildId: ZandraFan
2024-03-01 11:20:21.439 DEBUG (SyncWorker_54) [custom_components.hubspace.light] friendlyName Camille Office Fan
2024-03-01 11:20:21.439 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Running getChildID
2024-03-01 11:20:22.471 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Applied model from getChildId: ZandraFan
2024-03-01 11:20:22.475 DEBUG (SyncWorker_54) [custom_components.hubspace.light] Switch on Model ZandraFan
2024-03-01 11:20:22.475 DEBUG (SyncWorker_54) [custom_components.hubspace.light] childId: 140be9a8-4e1c-4a93-a61d-1b3f9c0e2254
2024-03-01 11:20:22.475 DEBUG (SyncWorker_54) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-03-01 11:20:22.475 DEBUG (SyncWorker_54) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-03-01 11:20:22.475 DEBUG (SyncWorker_54) [custom_components.hubspace.light] Creating Fan
2024-03-01 11:20:22.476 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Running getChildID
2024-03-01 11:20:22.814 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Applied model from getChildId: ZandraFan
2024-03-01 11:20:22.817 DEBUG (SyncWorker_54) [custom_components.hubspace.light] friendlyName Server Room Fan
2024-03-01 11:20:22.817 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Running getChildID
2024-03-01 11:20:23.184 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Applied model from getChildId: ZandraFan
2024-03-01 11:20:23.189 DEBUG (SyncWorker_54) [custom_components.hubspace.light] Switch on Model ZandraFan
2024-03-01 11:20:23.189 DEBUG (SyncWorker_54) [custom_components.hubspace.light] childId: 31c2ed7b-50b7-452d-9dcc-3abb4cad0975
2024-03-01 11:20:23.190 DEBUG (SyncWorker_54) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-03-01 11:20:23.190 DEBUG (SyncWorker_54) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-03-01 11:20:23.190 DEBUG (SyncWorker_54) [custom_components.hubspace.light] Creating Fan
2024-03-01 11:20:23.190 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Running getChildID
2024-03-01 11:20:23.574 DEBUG (SyncWorker_54) [custom_components.hubspace.hubspace] Applied model from getChildId: ZandraFan
2024-03-01 11:21:24.375 DEBUG (SyncWorker_11) [custom_components.hubspace.hubspace] 

MYanello avatar Mar 01 '24 17:03 MYanello

What you did looks right. That is what I would have tried. Weird, because I had this working last year: https://github.com/jdeath/Hubspace-Homeassistant/issues/48

If you are specifying friendly names, you might need separate friendlynames for the fan and light. Or, you can go back to the autoscan, and see if that works with your changes.

You can also revert to version 1.94 which I think did work (even using autoscan)

jdeath avatar Mar 02 '24 13:03 jdeath

Ah we're getting closer with the separated friendly names.

  1. I can now turn on and adjust the brightness of the light, but not the temp. I'm not super concerned about that, but would be good to disable temp adjustment for the entity if it won't work. The light entities are labeled as lights in Hass.
  2. Turn on and off the fan, but not adjust speed. Adjusting speed would be nice if you know any tricks for that. The fan entities are also labeled as lights which seems to be expected behavior.

Would these changes in my branch mess up the zandra integration that already existed and worked for a different model zandra? I'll test that 1.94 version to see if it works for me but it seems that fan is slightly different than what I have

MYanello avatar Mar 03 '24 15:03 MYanello

I only know of one version of Zanda. Adding fan speed and color temp should be easy enough, once you got the basics working.

you can compare your TestHubspace.py output to someone else from a couple years ago (https://github.com/jdeath/Hubspace-Homeassistant/blob/main/sample_data/zandrafans.json) and see if speed and color temp fields are any different. My guess is they are the same.

Did you make any changes to get it to work? Try 1.94 if you get a chance, perhaps it was forgetting that you need separate friendly names.

jdeath avatar Mar 03 '24 17:03 jdeath

It seemed to work with the split fan/light friendly names on 1.94 judging by the logs, but homeassistant had no entities created. I have to put this on pause for now but will hopefully get some time to pick it up soon. Appreciate the help debugging here so far!

2024-03-05 12:57:50.407 DEBUG (SyncWorker_57) [custom_components.hubspace.light] friendlyName Guest Room Fan
2024-03-05 12:57:51.497 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Switch on Model TBD
2024-03-05 12:57:51.497 DEBUG (SyncWorker_57) [custom_components.hubspace.light] childId: 8f45dba1-de15-4642-979a-1363f4ad8ad1
2024-03-05 12:57:51.497 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-03-05 12:57:51.497 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-03-05 12:57:51.498 DEBUG (SyncWorker_57) [custom_components.hubspace.light] creating lights
2024-03-05 12:57:51.498 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Light Name: 
2024-03-05 12:57:51.498 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Guest Room Fan
2024-03-05 12:57:51.850 DEBUG (SyncWorker_57) [custom_components.hubspace.light] friendlyName Camille Office Fan
2024-03-05 12:57:52.139 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Switch on Model ZandraFan
2024-03-05 12:57:52.139 DEBUG (SyncWorker_57) [custom_components.hubspace.light] childId: b9a21495-0a98-4843-b793-de28a69b4df4
2024-03-05 12:57:52.139 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceId: 8c1894e686af43ae
2024-03-05 12:57:52.139 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceClass: fan
2024-03-05 12:57:52.139 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Creating Fan
2024-03-05 12:57:52.471 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Creating Light
2024-03-05 12:57:52.471 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Light Name: 
2024-03-05 12:57:52.471 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Camille Office Fan
2024-03-05 12:57:52.796 DEBUG (SyncWorker_57) [custom_components.hubspace.light] friendlyName Server Room Fan
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Switch on Model TBD
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] childId: 31c2ed7b-50b7-452d-9dcc-3abb4cad0975
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceId: 882408b61f60e10a
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceClass: ceiling-fan
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] creating lights
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Light Name: 
2024-03-05 12:57:53.127 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Server Room Fan
2024-03-05 12:57:53.534 DEBUG (SyncWorker_57) [custom_components.hubspace.light] friendlyName Guest Room Fan Light
2024-03-05 12:57:53.861 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Switch on Model TBD
2024-03-05 12:57:53.861 DEBUG (SyncWorker_57) [custom_components.hubspace.light] childId: ef6f9b6e-e643-4f05-b2bd-402030fb1c7a
2024-03-05 12:57:53.861 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceId: 864908b61f60cdce
2024-03-05 12:57:53.861 DEBUG (SyncWorker_57) [custom_components.hubspace.light] deviceClass: light
2024-03-05 12:57:53.862 DEBUG (SyncWorker_57) [custom_components.hubspace.light] creating lights
2024-03-05 12:57:53.862 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Light Name: 
2024-03-05 12:57:53.862 DEBUG (SyncWorker_57) [custom_components.hubspace.light] Guest Room Fan Light
2024-03-05 12:57:54.142 DEBUG (SyncWorker_57) [custom_components.hubspace.light] friendlyName Camille Office Fan Light

MYanello avatar Mar 05 '24 19:03 MYanello

I am encountering the same issue where I can control the fan (0% or 20%) but the fan is not working for me. I have reviewed the code and have a PR out to start simplifying the discovery process (at this point its just setup_platform since I do not want too large of a PR).

Expl0dingBanana avatar Jul 13 '24 23:07 Expl0dingBanana

I looked into this some after working on the discovery issue. For the light to be properly cycled, you must include the keyword argument "light-power" to setPowerState. I will get this fixed while re-working lights.

https://github.com/jdeath/Hubspace-Homeassistant/blob/main/custom_components/hubspace/light.py#L111C10-L111C11

Expl0dingBanana avatar Jul 15 '24 23:07 Expl0dingBanana

@MYanello This issue should be fixed with #86

Expl0dingBanana avatar Jul 29 '24 19:07 Expl0dingBanana

@Expl0dingBanana awesome I just tested and it seems to be working now

MYanello avatar Jul 31 '24 17:07 MYanello

Thias has been resolved with 3.0.0

Expl0dingBanana avatar Jul 31 '24 23:07 Expl0dingBanana