hygrometers and disabling of components

This commit is contained in:
Per Sandstrom committed 2015-08-17 13:05:49 +02:00
1 parent e37869616b
commit 4707b122cc
3 files changed
+102 -14

No files matched your search

+1 -8
View File
@@ -2,14 +2,6 @@
homeassistant.components.switch.verisure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Support for Verisure Smartplugs
Configuration:
switch:
platform: verisure
Variables:
"""
import logging
@@ -31,6 +23,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
switches.extend([
VerisureSmartplug(value)
for value in verisure.get_smartplug_status().values()
if verisure.SHOW_SMARTPLUGS
])
add_devices(switches)