Add own device type for smartstrip children (#201)

This commit is contained in:
Teemu R
2021-09-21 13:25:14 +02:00
committed by GitHub
parent 2c83d8ee6d
commit 151976bb04
2 changed files with 13 additions and 6 deletions

View File

@@ -211,6 +211,7 @@ class SmartStripPlug(SmartPlug):
self.child_id = child_id
self._last_update = parent._last_update
self._sys_info = parent._sys_info
self._device_type = DeviceType.StripSocket
async def update(self):
"""Override the update to no-op and inform the user."""