As is too common, debug logging is terribly difficult. Debug logging from homeassistant.components.hue is basically useless. Even enabling debug logging on EVERYTHING, doesn’t seem to show me any requests sent to the Hue bridge.
Here’s a sequence of first calling “turn_on” (which toggles three times; off -> on -> off -> on), followed by “turn_off” a few seconds later (which toggles once; on -> off).
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752943992] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'entity_id': 'light.on_off_light_1'}, 'id': 39}
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.on_off_light_1>
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.hue.light] Finished fetching light data in 0.030 seconds
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:21.196857+09:00>, new_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>>
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1730885976] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:21.196857+09:00>, new_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>>}
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752943992] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:21.196857+09:00>, new_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>>}
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752111616] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:21.196857+09:00>, new_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>>}
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1753774496] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:21.196857+09:00>, new_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>>}
2021-02-16 13:28:24 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752943992] Sending {'id': 39, 'type': 'result', 'success': True, 'result': {'context': Context(user_id='<UUID_1>', parent_id=None, id='<UUID_2>')}}
2021-02-16 13:28:26 DEBUG (MainThread) [homeassistant.components.hue.sensor_base] Finished fetching sensor data in 0.021 seconds
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752943992] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_off', 'service_data': {'entity_id': 'light.on_off_light_1'}, 'id': 40}
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_off, service_data=entity_id=light.on_off_light_1>
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.components.hue.light] Finished fetching light data in 0.022 seconds
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>, new_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:28.980475+09:00>>
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1730885976] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>, new_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:28.980475+09:00>>}
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752943992] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>, new_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:28.980475+09:00>>}
2021-02-16 13:28:28 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752111616] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>, new_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:28.980475+09:00>>}
2021-02-16 13:28:29 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1753774496] Sending {'id': 2, 'type': 'event', 'event': <Event state_changed[L]: entity_id=light.on_off_light_1, old_state=<state light.on_off_light_1=on; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:24.889646+09:00>, new_state=<state light.on_off_light_1=off; min_mireds=153, max_mireds=500, effect_list=['colorloop', 'random'], friendly_name=OnOffPlug, supported_features=0 @ 2021-02-16T13:28:28.980475+09:00>>}
2021-02-16 13:28:29 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1752943992] Sending {'id': 40, 'type': 'result', 'success': True, 'result': {'context': Context(user_id='<UUID_1>', parent_id=None, id='<UUID_3>')}}