Skip to content

Commit

Permalink
Remove 'pylint: disable=protected'
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Jul 21, 2023
1 parent a719e7f commit 3e6c32e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/adaptive_lighting/switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ async def handle_change_switch_settings(
data,
)

all_lights = switch.lights # pylint: disable=protected-access
all_lights = switch.lights
switch.turn_on_off_listener.reset(*all_lights, reset_manual_control=False)
if switch.is_on:
await switch._update_attrs_and_maybe_adapt_lights( # pylint: disable=protected-access
Expand Down Expand Up @@ -561,7 +561,7 @@ async def handle_set_manual_control(service_call: ServiceCall):
service_func=handle_apply,
schema=apply_service_schema(
switch.initial_transition,
), # pylint: disable=protected-access
),
)

# Register `set_manual_control` service
Expand Down

0 comments on commit 3e6c32e

Please sign in to comment.