Unverified Commit 09bda5f2 authored by LamBao90's avatar LamBao90 Committed by GitHub
Browse files

Update fan.py (#769)

line 184: def direction(self):  change to def current_direction(self):
parent 6b57e4e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -181,8 +181,8 @@ class SmartIRFan(FanEntity, RestoreEntity):
        return self._oscillating

    @property
    def direction(self):
        """Return the oscillation state."""
    def current_direction(self):
        """Return the direction state."""
        return self._direction

    @property