removed logger.
I guess I should add some error checking, but I'd like you to okay this code first.pull/1374/head
parent
94633b3795
commit
0193454064
|
@ -26,9 +26,6 @@ SceneConfig = namedtuple('SceneConfig', ['name', 'states'])
|
|||
# pylint: disable=unused-argument
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
""" Sets up home assistant scene entries. """
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
scene_config = config.get("config")
|
||||
|
||||
add_devices([HomeAssistantScene(hass, _process_config(scene_config))])
|
||||
|
|
Loading…
Reference in New Issue