mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-26 08:36:22 +00:00
Improve autooff name and unit (#997)
This commit is contained in:
parent
e083449049
commit
cee8b0fadc
@ -40,11 +40,12 @@ class AutoOff(SmartModule):
|
||||
Feature(
|
||||
self._device,
|
||||
id="auto_off_minutes",
|
||||
name="Auto off minutes",
|
||||
name="Auto off in",
|
||||
container=self,
|
||||
attribute_getter="delay",
|
||||
attribute_setter="set_delay",
|
||||
type=Feature.Type.Number,
|
||||
unit="min", # ha-friendly unit, see UnitOfTime.MINUTES
|
||||
)
|
||||
)
|
||||
self._add_feature(
|
||||
|
Loading…
x
Reference in New Issue
Block a user