mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 06:37:52 +00:00
Add model ID to samsungtv (#125369)
This commit is contained in:
parent
006b2da14e
commit
97ffbf5aad
@ -42,6 +42,7 @@ class SamsungTVEntity(CoordinatorEntity[SamsungTVDataUpdateCoordinator], Entity)
|
|||||||
name=config_entry.data.get(CONF_NAME),
|
name=config_entry.data.get(CONF_NAME),
|
||||||
manufacturer=config_entry.data.get(CONF_MANUFACTURER),
|
manufacturer=config_entry.data.get(CONF_MANUFACTURER),
|
||||||
model=config_entry.data.get(CONF_MODEL),
|
model=config_entry.data.get(CONF_MODEL),
|
||||||
|
model_id=config_entry.data.get(CONF_MODEL),
|
||||||
)
|
)
|
||||||
if self.unique_id:
|
if self.unique_id:
|
||||||
self._attr_device_info[ATTR_IDENTIFIERS] = {(DOMAIN, self.unique_id)}
|
self._attr_device_info[ATTR_IDENTIFIERS] = {(DOMAIN, self.unique_id)}
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
}),
|
}),
|
||||||
'manufacturer': None,
|
'manufacturer': None,
|
||||||
'model': '82GXARRS',
|
'model': '82GXARRS',
|
||||||
'model_id': None,
|
'model_id': '82GXARRS',
|
||||||
'name': 'fake',
|
'name': 'fake',
|
||||||
'name_by_user': None,
|
'name_by_user': None,
|
||||||
'primary_config_entry': <ANY>,
|
'primary_config_entry': <ANY>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user