Fix demos (#32086)
* Fixes for demos * Update vacuum.py * Comment * Fix tests
This commit is contained in:
1 parent
7127492767
commit
4c4e5f3fa9
8 files changed
+98
-21
No files matched your search
@@ -10,7 +10,14 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
||||
async_add_entities(
|
||||
[
|
||||
DemoSwitch("swith1", "Decorative Lights", True, None, True),
|
||||
DemoSwitch("swith2", "AC", False, "mdi:air-conditioner", False),
|
||||
DemoSwitch(
|
||||
"swith2",
|
||||
"AC",
|
||||
False,
|
||||
"mdi:air-conditioner",
|
||||
False,
|
||||
device_class="outlet",
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user