Add created_at/modified_at to device registry (#122369)

This commit is contained in:
Robert Resch 2024-07-22 19:15:23 +02:00 committed by GitHub
parent 19d9a91392
commit 4c853803f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 147 additions and 1 deletions

View file

@ -293,6 +293,8 @@ async def test_snapshots(
device_dict = asdict(device)
device_dict.pop("id", None)
device_dict.pop("via_device_id", None)
device_dict.pop("created_at", None)
device_dict.pop("modified_at", None)
devices.append({"device": device_dict, "entities": entities})
assert snapshot == devices