deCONZ - Improve config flow logging (#31381)

This commit is contained in:
Robert Svensson 2020-02-01 20:02:57 +01:00 committed by GitHub
parent e0704d73cc
commit 43b11f6b39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 9 deletions

View file

@ -6,9 +6,9 @@ from homeassistant.helpers import config_validation as cv
from .config_flow import get_master_gateway
from .const import (
_LOGGER,
CONF_BRIDGE_ID,
DOMAIN,
LOGGER,
NEW_GROUP,
NEW_LIGHT,
NEW_SCENE,
@ -110,7 +110,7 @@ async def async_configure_service(hass, data):
try:
field = gateway.deconz_ids[entity_id] + field
except KeyError:
_LOGGER.error("Could not find the entity %s", entity_id)
LOGGER.error("Could not find the entity %s", entity_id)
return
await gateway.api.request("put", field, json=data)