Skip to content

Commit bf21a0f

Browse files
sirkirbyCopilot
andauthored
Update custom_components/unifi_network_rules/coordinator.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6125ab6 commit bf21a0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom_components/unifi_network_rules/coordinator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ async def _update_devices_in_dict(self, data: Dict[str, List[Any]]) -> None:
833833
LOGGER.info(" %s (%s): LED=%s, Model=%s",
834834
device_name, device_mac, led_state, device_model)
835835

836-
# Use Device objects directly (consistent with firewall.py pattern)
836+
# Use Device objects directly to represent LED-capable devices with their current states
837837
data["devices"] = led_capable_devices
838838
self.devices = led_capable_devices
839839
LOGGER.info("Updated %d LED-capable devices with current LED states", len(led_capable_devices))

0 commit comments

Comments
 (0)