Fix attribute history API response
This commit is contained in:
@@ -1840,8 +1840,7 @@ async def get_entity_attribute_history_endpoint(entity_id: str, limit: int = 50)
|
|||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"id": h.id,
|
"id": h.id,
|
||||||
"template_id": h.template_id,
|
"attribute_name": h.attribute_name,
|
||||||
"template_name": h.template_name,
|
|
||||||
"old_value": h.old_value,
|
"old_value": h.old_value,
|
||||||
"new_value": h.new_value,
|
"new_value": h.new_value,
|
||||||
"changed_by": h.changed_by,
|
"changed_by": h.changed_by,
|
||||||
|
|||||||
Reference in New Issue
Block a user