mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Fix style issue
This commit is contained in:
parent
0d32bd7a19
commit
b114ba56ea
@ -27,6 +27,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
|||||||
if _WEMO_SUBSCRIPTION_REGISTRY is None:
|
if _WEMO_SUBSCRIPTION_REGISTRY is None:
|
||||||
_WEMO_SUBSCRIPTION_REGISTRY = pywemo.SubscriptionRegistry()
|
_WEMO_SUBSCRIPTION_REGISTRY = pywemo.SubscriptionRegistry()
|
||||||
_WEMO_SUBSCRIPTION_REGISTRY.start()
|
_WEMO_SUBSCRIPTION_REGISTRY.start()
|
||||||
|
|
||||||
def stop_wemo(event):
|
def stop_wemo(event):
|
||||||
""" Shutdown Wemo subscriptions and subscription thread on exit"""
|
""" Shutdown Wemo subscriptions and subscription thread on exit"""
|
||||||
_LOGGER.info("Shutting down subscriptions.")
|
_LOGGER.info("Shutting down subscriptions.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user