mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Make Light and Fan a common module interface (#911)
This commit is contained in:
@@ -4,10 +4,10 @@ from __future__ import annotations
|
||||
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from ..device import Device
|
||||
from ..module import Module
|
||||
|
||||
|
||||
class Fan(Device, ABC):
|
||||
class Fan(Module, ABC):
|
||||
"""Interface for a Fan."""
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user