Improve emulated_hue logging to identify bad devices (#137919)
* Improve emulated_hue logging to identify bad devices * Updated per @bdraco requestpull/137992/head
parent
361933091c
commit
20707b94b5
|
@ -322,8 +322,10 @@ class HueOneLightStateView(HomeAssistantView):
|
|||
|
||||
if hass_entity_id is None:
|
||||
_LOGGER.error(
|
||||
"Unknown entity number: %s not found in emulated_hue_ids.json",
|
||||
"Unknown entity number: %s not found in emulated_hue_ids.json, "
|
||||
"state request from %s",
|
||||
entity_id,
|
||||
request.remote,
|
||||
)
|
||||
return self.json_message("Entity not found", HTTPStatus.NOT_FOUND)
|
||||
|
||||
|
|
Loading…
Reference in New Issue