mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
removed logger.
I guess I should add some error checking, but I'd like you to okay this code first.
This commit is contained in:
parent
94633b3795
commit
0193454064
@ -26,9 +26,6 @@ SceneConfig = namedtuple('SceneConfig', ['name', 'states'])
|
|||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
""" Sets up home assistant scene entries. """
|
""" Sets up home assistant scene entries. """
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
scene_config = config.get("config")
|
scene_config = config.get("config")
|
||||||
|
|
||||||
add_devices([HomeAssistantScene(hass, _process_config(scene_config))])
|
add_devices([HomeAssistantScene(hass, _process_config(scene_config))])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user