|
|
@@ -108,7 +108,10 @@ class SmartIRFan(FanEntity, RestoreEntity):
|
|
|
self._direction = None
|
|
|
self._last_on_speed = None
|
|
|
self._oscillating = None
|
|
|
- self._support_flags = FanEntityFeature.SET_SPEED
|
|
|
+ self._support_flags = (
|
|
|
+ FanEntityFeature.SET_SPEED
|
|
|
+ | FanEntityFeature.TURN_OFF
|
|
|
+ | FanEntityFeature.TURN_ON)
|
|
|
|
|
|
if (DIRECTION_REVERSE in self._commands and \
|
|
|
DIRECTION_FORWARD in self._commands):
|