hacs-hubitat: Janky behavior and occasional errors controlling groups of lights

I’ve got a bunch of smart bulbs exposed to ha via Hubitat. I have the bulbs in ha groups. When I control the groups the behavior is “jittery”, the sliders for level or color temperature will jump all over the place when changed and sometimes the correct values don’t get set.

Here is what I see in the logs when I tap the color temperature slider a single time on one of my light groups – it looks like it sends both an on and a setColorTemperature twice to each light.

2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 1 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 974
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 2 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 975
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 3 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 976
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 4 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 977
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 5 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 978
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 6 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 979
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 7 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 980
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 8 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 981
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 1 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 974
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 2 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 975
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 3 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 976
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 4 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 977
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 5 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 978
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 6 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 979
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 7 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 980
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 8 with {'color_temp': 224}
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command on(None) to 981
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 979
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 979
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 977
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 977
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 976
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 976
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 978
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 978
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 981
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 981
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 974
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 974
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 980
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 980
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 975
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 975
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 978
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 978
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 975
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 975
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 981
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 981
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 979
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 979
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 974
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 974
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 977
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 977
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 977
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 976
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 976
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 979
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 980
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 974
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent on to 980
2021-12-06 10:19:47 DEBUG (MainThread) [hubitatmaker.hub] Sending command setColorTemperature(4464) to 980
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 978
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 981
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 974
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 976
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 975
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 977
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 976
2021-12-06 10:19:47 DEBUG (MainThread) [custom_components.hubitat.device] sent setColorTemperature to 980
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 4', 'deviceId': '977', 'descriptionText': 'Kitchen Lights Bulb 4 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 977 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 4', 'deviceId': '977', 'descriptionText': 'Kitchen Lights Bulb 4 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 977 to 4464
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 1', 'deviceId': '974', 'descriptionText': 'Kitchen Lights Bulb 1 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 974 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 1', 'deviceId': '974', 'descriptionText': 'Kitchen Lights Bulb 1 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 974 to 4464
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 6', 'deviceId': '979', 'descriptionText': 'Kitchen Lights Bulb 6 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 979 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 6', 'deviceId': '979', 'descriptionText': 'Kitchen Lights Bulb 6 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 979 to 4464
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 7', 'deviceId': '980', 'descriptionText': 'Kitchen Lights Bulb 7 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 980 to 4464
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 7', 'deviceId': '980', 'descriptionText': 'Kitchen Lights Bulb 7 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 980 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 5', 'deviceId': '978', 'descriptionText': 'Kitchen Lights Bulb 5 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 978 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 5', 'deviceId': '978', 'descriptionText': 'Kitchen Lights Bulb 5 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 978 to 4464
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 3', 'deviceId': '976', 'descriptionText': 'Kitchen Lights Bulb 3 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 976 to 4464
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 3', 'deviceId': '976', 'descriptionText': 'Kitchen Lights Bulb 3 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 976 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorName', 'value': 'Horizon', 'displayName': 'Kitchen Lights Bulb 8', 'deviceId': '981', 'descriptionText': 'Kitchen Lights Bulb 8 color was set to Horizon', 'unit': None, 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorName of 981 to Horizon
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'colorTemperature', 'value': '4464', 'displayName': 'Kitchen Lights Bulb 8', 'deviceId': '981', 'descriptionText': 'Kitchen Lights Bulb 8 colorTemperature was set to 4464°K', 'unit': '°K', 'type': None, 'data': None}
2021-12-06 10:19:48 DEBUG (MainThread) [hubitatmaker.hub] Updating colorTemperature of 981 to 4464
2021-12-06 10:19:49 INFO (MainThread) [homeassistant.components.websocket_api.http.connection] [547239546400] Connection closed by client

I also occasionally get an error from the integration about decoding json with an unexpected mime type. This doesn’t always happen, maybe 1/10 times when controlling a group of lights.

Here are the relevant logs for the mime type error:

2021-12-06 10:19:47 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547264609584] 0, message='Attempt to decode JSON with unexpected mimetype: text/html;charset=utf-8', url=URL('http://192.168.1.25/apps/api/555/devices/975/setColorTemperature/4464?access_token= my_token_here')
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 667, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 863, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 704, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 496, in async_handle_light_on_service
await light.async_turn_on(**filter_turn_on_params(light, params))
File "/usr/src/homeassistant/homeassistant/components/group/light.py", line 160, in async_turn_on
await self.hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 667, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 863, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 704, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 496, in async_handle_light_on_service
await light.async_turn_on(**filter_turn_on_params(light, params))
File "/config/custom_components/hubitat/light.py", line 235, in async_turn_on
await self.send_command(CMD_SET_COLOR_TEMP, props["temp"])
File "/config/custom_components/hubitat/device.py", line 156, in send_command
await self._hub.send_command(self.device_id, command, arg)
File "/config/custom_components/hubitat/hub.py", line 381, in send_command
await self._hub.send_command(device_id, command, arg)
File "/usr/local/lib/python3.9/site-packages/hubitatmaker/hub.py", line 219, in send_command
return await self._api_request(path)
File "/usr/local/lib/python3.9/site-packages/hubitatmaker/hub.py", line 380, in _api_request
json = await resp.json()
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1097, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html;charset=utf-8', url=URL('http://192.168.1.25/apps/api/555/devices/975/setColorTemperature/4464?access_token=my_token_here')

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 21 (8 by maintainers)

Most upvoted comments

The issue there happened when I refactored the light entity to use the color_modes property when deciding how to handle light properties passed to the turn_on on command. The entity was only paying attention to the brightness property if the light reported that it supported ColorMode.BRIGHTNESS. However, a light should only report ColorMode.BRIGHTNESS if brightness is the only thing it supports, so RGB and color temp bulbs don’t report that mode, which caused the integration to ignore the brightness property.

This is fixed in v0.9.14.

I see the same error when using call service to turn on a single switch from node-red. I have a variety of Z-Wave switches in my house, and I’ll see the error for any of them.

2022-04-03 09:46:41 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548092072672] 0, message='Attempt to decode JSON with unexpected mimetype: text/html;charset=utf-8', url=URL('http://10.0.0.57/apps/api/205/devices/263/on?access_token=xxxxxx')
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 192, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1636, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1673, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
    await self.hass.helpers.service.entity_service_call(
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 671, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 949, in async_request_call
    await coro
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 708, in _handle_entity_call
    await result
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 504, in async_handle_light_on_service
    await light.async_turn_on(**filter_turn_on_params(light, params))
  File "/config/custom_components/hubitat/light.py", line 226, in async_turn_on
    await self.send_command(CMD_ON)
  File "/config/custom_components/hubitat/device.py", line 158, in send_command
    await self._hub.send_command(self.device_id, command, arg)
  File "/config/custom_components/hubitat/hub.py", line 381, in send_command
    await self._hub.send_command(device_id, command, arg)
  File "/usr/local/lib/python3.9/site-packages/hubitatmaker/hub.py", line 219, in send_command
    return await self._api_request(path)
  File "/usr/local/lib/python3.9/site-packages/hubitatmaker/hub.py", line 380, in _api_request
    json = await resp.json()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1103, in json
    raise ContentTypeError(

I see no corresponding error in the habitat log. In fact, the command to turn the switch on/off usually works despite an error being logged. If I plug the link in my web browser, I’m able to access the JSON no problem.

Hmm it doesn’t seem to be sending duplicates when I control an individual light, but I do see some odd behavior.

It generally goes like this:

  1. Tap a different value on a brightness or color temp slider on the UI
  2. Slider jumps back to initial position or somewhere in between
  3. Later the slider (sometimes) jumps to the position I set

Looking at the logs I see things like this

2021-12-06 18:35:28 DEBUG (MainThread) [custom_components.hubitat.light] Turning on Kitchen Lights Bulb 1 with {'brightness': 145}
2021-12-06 18:35:28 DEBUG (MainThread) [hubitatmaker.hub] Sending command setLevel(56) to 974
2021-12-06 18:35:28 DEBUG (MainThread) [custom_components.hubitat.device] sent setLevel to 974
2021-12-06 18:35:28 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'level', 'value': '75', 'displayName': 'Kitchen Lights Bulb 1', 'deviceId': '974', 'descriptionText': 'Kitchen Lights Bulb 1 level was set to 75%', 'unit': '%', 'type': None, 'data': None}
2021-12-06 18:35:28 DEBUG (MainThread) [hubitatmaker.hub] Updating level of 974 to 75
2021-12-06 18:35:33 DEBUG (MainThread) [hubitatmaker.hub] Received event: {'name': 'level', 'value': '56', 'displayName': 'Kitchen Lights Bulb 1', 'deviceId': '974', 'descriptionText': 'Kitchen Lights Bulb 1 level was set to 56%', 'unit': '%', 'type': None, 'data': None}
2021-12-06 18:35:33 DEBUG (MainThread) [hubitatmaker.hub] Updating level of 974 to 56

It looks like Hubitat is sending back the current value of the bulb immediately when a command is issued which causes the UI to jump back to original position (or jump all over the place for groups) until another message comes in with the result of the command.

edit: Could it be the Hubitat driver for the bulbs? These are all sengled element color plus bulbs using the built in Hubitat sengled driver.