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:
1 parent
b00b8ea0c1
commit
61b4d1e8de
6 files changed
+9
-21
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user