Small code style improvements to Insteon integration (#33662)

* Small code style improvements to Insteon integration

* Update homeassistant/components/insteon/utils.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Franck NijhofandMartin Hjelmare authored and GitHub committed 2020-04-05 02:58:10 +02:00
1 parent b00b8ea0c1
commit 61b4d1e8de
6 files changed
+9 -21

No files matched your search

+1 -3
View File
@@ -19,9 +19,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
state_name = device.states[state_key].name
_LOGGER.debug(
"Adding device %s entity %s to Switch platform",
device.address.hex,
device.states[state_key].name,
"Adding device %s entity %s to Switch platform", device.address.hex, state_name,
)
new_entity = None