mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-10-14 03:18:26 +00:00
Add common energy module and deprecate device emeter attributes (#976)
Consolidates logic for energy monitoring across smart and iot devices. Deprecates emeter attributes in favour of common names.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
"""Package for interfaces."""
|
||||
|
||||
from .energy import Energy
|
||||
from .fan import Fan
|
||||
from .led import Led
|
||||
from .light import Light, LightState
|
||||
@@ -8,6 +9,7 @@ from .lightpreset import LightPreset
|
||||
|
||||
__all__ = [
|
||||
"Fan",
|
||||
"Energy",
|
||||
"Led",
|
||||
"Light",
|
||||
"LightEffect",
|
||||
|
Reference in New Issue
Block a user