Add model ID to sfr_box (#125400)

pull/125421/head
epenet 2024-09-06 16:50:17 +02:00 committed by GitHub
parent f126a6024e
commit 33814d1180
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 4 deletions

View File

@ -66,6 +66,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
identifiers={(DOMAIN, system_info.mac_addr)},
name="SFR Box",
model=system_info.product_id,
model_id=system_info.product_id,
sw_version=system_info.version_mainfirmware,
configuration_url=f"http://{entry.data[CONF_HOST]}",
)

View File

@ -22,7 +22,7 @@
}),
'manufacturer': None,
'model': 'NB6VAC-FXC-r0',
'model_id': None,
'model_id': 'NB6VAC-FXC-r0',
'name': 'SFR Box',
'name_by_user': None,
'primary_config_entry': <ANY>,
@ -150,7 +150,7 @@
}),
'manufacturer': None,
'model': 'NB6VAC-FXC-r0',
'model_id': None,
'model_id': 'NB6VAC-FXC-r0',
'name': 'SFR Box',
'name_by_user': None,
'primary_config_entry': <ANY>,

View File

@ -22,7 +22,7 @@
}),
'manufacturer': None,
'model': 'NB6VAC-FXC-r0',
'model_id': None,
'model_id': 'NB6VAC-FXC-r0',
'name': 'SFR Box',
'name_by_user': None,
'primary_config_entry': <ANY>,

View File

@ -22,7 +22,7 @@
}),
'manufacturer': None,
'model': 'NB6VAC-FXC-r0',
'model_id': None,
'model_id': 'NB6VAC-FXC-r0',
'name': 'SFR Box',
'name_by_user': None,
'primary_config_entry': <ANY>,