Skip to content

Commit

Permalink
Add model_id to tedee (home-assistant#128356)
Browse files Browse the repository at this point in the history
  • Loading branch information
zweckj authored Oct 14, 2024
1 parent 8e6b41e commit cdb1b1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/tedee/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(
name=lock.lock_name,
manufacturer="Tedee",
model=lock.lock_type,
model_id=lock.lock_type,
via_device=(DOMAIN, coordinator.bridge.serial),
)

Expand Down
4 changes: 2 additions & 2 deletions tests/components/tedee/snapshots/test_lock.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}),
'manufacturer': 'Tedee',
'model': 'Tedee PRO',
'model_id': None,
'model_id': 'Tedee PRO',
'name': 'Lock-1A2B',
'name_by_user': None,
'primary_config_entry': <ANY>,
Expand Down Expand Up @@ -147,7 +147,7 @@
}),
'manufacturer': 'Tedee',
'model': 'Tedee GO',
'model_id': None,
'model_id': 'Tedee GO',
'name': 'Lock-2C3D',
'name_by_user': None,
'primary_config_entry': <ANY>,
Expand Down

0 comments on commit cdb1b1d

Please sign in to comment.