Enable RUF023 (#135830)

This commit is contained in:
Joost Lekkerkerker
2025-01-17 12:28:27 +01:00
committed by GitHub
parent 23e04ced9c
commit ef8b8fbbaa
24 changed files with 105 additions and 104 deletions

View File

@@ -225,7 +225,7 @@ class ServiceParams(TypedDict):
class ServiceTargetSelector:
"""Class to hold a target selector for a service."""
__slots__ = ("entity_ids", "device_ids", "area_ids", "floor_ids", "label_ids")
__slots__ = ("area_ids", "device_ids", "entity_ids", "floor_ids", "label_ids")
def __init__(self, service_call: ServiceCall) -> None:
"""Extract ids from service call data."""