Replace pylint protected-access with Ruff SLF001 (#115735)
This commit is contained in:
parent
460c05dc43
commit
b456d97e65
90 changed files with 168 additions and 223 deletions
|
@ -87,7 +87,7 @@ class HassAqualinkThermostat(AqualinkEntity, ClimateEntity):
|
|||
@property
|
||||
def hvac_action(self) -> HVACAction:
|
||||
"""Return the current HVAC action."""
|
||||
state = AqualinkState(self.dev._heater.state)
|
||||
state = AqualinkState(self.dev._heater.state) # noqa: SLF001
|
||||
if state == AqualinkState.ON:
|
||||
return HVACAction.HEATING
|
||||
if state == AqualinkState.ENABLED:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue