mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Revert get_model from myuplink lib (#113811)
This commit is contained in:
parent
670bd97777
commit
0fa395556d
@ -5,7 +5,7 @@ from __future__ import annotations
|
||||
from http import HTTPStatus
|
||||
|
||||
from aiohttp import ClientError, ClientResponseError
|
||||
from myuplink import MyUplinkAPI, get_manufacturer, get_model, get_system_name
|
||||
from myuplink import MyUplinkAPI, get_manufacturer, get_system_name
|
||||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.const import Platform
|
||||
@ -92,7 +92,7 @@ def create_devices(
|
||||
identifiers={(DOMAIN, device_id)},
|
||||
name=get_system_name(system),
|
||||
manufacturer=get_manufacturer(device),
|
||||
model=get_model(device),
|
||||
model=device.productName,
|
||||
sw_version=device.firmwareCurrent,
|
||||
serial_number=device.product_serial_number,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user