mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-08 11:44:02 +00:00
Allow erroring modules to recover (#1080)
Re-query failed modules after some delay instead of immediately disabling them. Changes to features so they can still be created when modules are erroring.
This commit is contained in:
@@ -30,8 +30,7 @@ class Fan(SmartModule, FanInterface):
|
||||
attribute_setter="set_fan_speed_level",
|
||||
icon="mdi:fan",
|
||||
type=Feature.Type.Number,
|
||||
minimum_value=0,
|
||||
maximum_value=4,
|
||||
range_getter=lambda: (0, 4),
|
||||
category=Feature.Category.Primary,
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user