mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Improve emulated_hue logging to identify bad devices (#137919)
* Improve emulated_hue logging to identify bad devices * Updated per @bdraco request
This commit is contained in:
parent
361933091c
commit
20707b94b5
@ -322,8 +322,10 @@ class HueOneLightStateView(HomeAssistantView):
|
|||||||
|
|
||||||
if hass_entity_id is None:
|
if hass_entity_id is None:
|
||||||
_LOGGER.error(
|
_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,
|
entity_id,
|
||||||
|
request.remote,
|
||||||
)
|
)
|
||||||
return self.json_message("Entity not found", HTTPStatus.NOT_FOUND)
|
return self.json_message("Entity not found", HTTPStatus.NOT_FOUND)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user