mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-27 09:06:24 +00:00

Some checks are pending
CI / Perform linting checks (3.13) (push) Waiting to run
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Blocked by required conditions
CodeQL checks / Analyze (python) (push) Waiting to run
Implements power protection on supported devices. If the power usage is above the given threshold and the feature is enabled, the device will be turned off. Adds the following features: * `overloaded` binary sensor * `power_protection_threshold` number, setting this to `0` turns the feature off. --------- Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
92 lines
2.3 KiB
Python
92 lines
2.3 KiB
Python
"""Modules for SMART devices."""
|
|
|
|
from ..effects import SmartLightEffect
|
|
from .alarm import Alarm
|
|
from .autooff import AutoOff
|
|
from .batterysensor import BatterySensor
|
|
from .brightness import Brightness
|
|
from .childdevice import ChildDevice
|
|
from .childlock import ChildLock
|
|
from .childprotection import ChildProtection
|
|
from .childsetup import ChildSetup
|
|
from .clean import Clean
|
|
from .cleanrecords import CleanRecords
|
|
from .cloud import Cloud
|
|
from .color import Color
|
|
from .colortemperature import ColorTemperature
|
|
from .consumables import Consumables
|
|
from .contactsensor import ContactSensor
|
|
from .devicemodule import DeviceModule
|
|
from .dustbin import Dustbin
|
|
from .energy import Energy
|
|
from .fan import Fan
|
|
from .firmware import Firmware
|
|
from .frostprotection import FrostProtection
|
|
from .homekit import HomeKit
|
|
from .humiditysensor import HumiditySensor
|
|
from .led import Led
|
|
from .light import Light
|
|
from .lighteffect import LightEffect
|
|
from .lightpreset import LightPreset
|
|
from .lightstripeffect import LightStripEffect
|
|
from .lighttransition import LightTransition
|
|
from .matter import Matter
|
|
from .mop import Mop
|
|
from .motionsensor import MotionSensor
|
|
from .overheatprotection import OverheatProtection
|
|
from .powerprotection import PowerProtection
|
|
from .reportmode import ReportMode
|
|
from .speaker import Speaker
|
|
from .temperaturecontrol import TemperatureControl
|
|
from .temperaturesensor import TemperatureSensor
|
|
from .thermostat import Thermostat
|
|
from .time import Time
|
|
from .triggerlogs import TriggerLogs
|
|
from .waterleaksensor import WaterleakSensor
|
|
|
|
__all__ = [
|
|
"Alarm",
|
|
"Time",
|
|
"Energy",
|
|
"DeviceModule",
|
|
"ChildDevice",
|
|
"ChildLock",
|
|
"ChildSetup",
|
|
"BatterySensor",
|
|
"HumiditySensor",
|
|
"TemperatureSensor",
|
|
"TemperatureControl",
|
|
"ChildProtection",
|
|
"ReportMode",
|
|
"AutoOff",
|
|
"Led",
|
|
"Brightness",
|
|
"Fan",
|
|
"LightPreset",
|
|
"Firmware",
|
|
"Cloud",
|
|
"Light",
|
|
"LightEffect",
|
|
"LightStripEffect",
|
|
"LightTransition",
|
|
"ColorTemperature",
|
|
"Color",
|
|
"WaterleakSensor",
|
|
"ContactSensor",
|
|
"MotionSensor",
|
|
"TriggerLogs",
|
|
"FrostProtection",
|
|
"Thermostat",
|
|
"Clean",
|
|
"Consumables",
|
|
"CleanRecords",
|
|
"SmartLightEffect",
|
|
"PowerProtection",
|
|
"OverheatProtection",
|
|
"Speaker",
|
|
"HomeKit",
|
|
"Matter",
|
|
"Dustbin",
|
|
"Mop",
|
|
]
|