mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Fix ids and names
This commit is contained in:
parent
a081a46caa
commit
09450b5462
@ -39,8 +39,8 @@ class Vacuum(SmartModule):
|
|||||||
self._add_feature(
|
self._add_feature(
|
||||||
Feature(
|
Feature(
|
||||||
device,
|
device,
|
||||||
"return_home",
|
id="vacuum_return_home",
|
||||||
"Return home",
|
name="Return home",
|
||||||
container=self,
|
container=self,
|
||||||
attribute_setter="return_home",
|
attribute_setter="return_home",
|
||||||
category=Feature.Category.Primary,
|
category=Feature.Category.Primary,
|
||||||
@ -50,8 +50,8 @@ class Vacuum(SmartModule):
|
|||||||
self._add_feature(
|
self._add_feature(
|
||||||
Feature(
|
Feature(
|
||||||
device,
|
device,
|
||||||
"start_cleaning",
|
id="vacuum_start",
|
||||||
"Start cleaning",
|
name="Start cleaning",
|
||||||
container=self,
|
container=self,
|
||||||
attribute_setter="start",
|
attribute_setter="start",
|
||||||
category=Feature.Category.Primary,
|
category=Feature.Category.Primary,
|
||||||
@ -61,8 +61,8 @@ class Vacuum(SmartModule):
|
|||||||
self._add_feature(
|
self._add_feature(
|
||||||
Feature(
|
Feature(
|
||||||
device,
|
device,
|
||||||
"pause",
|
id="vacuum_pause",
|
||||||
"Pause",
|
name="Pause",
|
||||||
container=self,
|
container=self,
|
||||||
attribute_setter="pause",
|
attribute_setter="pause",
|
||||||
category=Feature.Category.Primary,
|
category=Feature.Category.Primary,
|
||||||
@ -72,8 +72,8 @@ class Vacuum(SmartModule):
|
|||||||
self._add_feature(
|
self._add_feature(
|
||||||
Feature(
|
Feature(
|
||||||
device,
|
device,
|
||||||
"status",
|
id="vacuum_status",
|
||||||
"Vacuum state",
|
name="Vacuum status",
|
||||||
container=self,
|
container=self,
|
||||||
attribute_getter="status",
|
attribute_getter="status",
|
||||||
category=Feature.Category.Primary,
|
category=Feature.Category.Primary,
|
||||||
|
Loading…
Reference in New Issue
Block a user