Fix smartcam missing device id (#1343)

This commit is contained in:
Steven B.
2024-12-06 09:40:44 +00:00
committed by GitHub
parent 8814d94989
commit 1c9ee4d537
2 changed files with 6 additions and 0 deletions

View File

@@ -55,6 +55,11 @@ device_classes = pytest.mark.parametrize(
)
async def test_device_id(dev: Device):
"""Test all devices have a device id."""
assert dev.device_id
async def test_alias(dev):
test_alias = "TEST1234"
original = dev.alias