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:
parent
b00b8ea0c1
commit
61b4d1e8de
6 changed files with 9 additions and 21 deletions
|
@ -30,7 +30,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||
_LOGGER.debug(
|
||||
"Adding device %s entity %s to Binary Sensor platform",
|
||||
device.address.hex,
|
||||
device.states[state_key].name,
|
||||
name,
|
||||
)
|
||||
|
||||
new_entity = InsteonBinarySensor(device, state_key)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue