Skip to content

Commit

Permalink
Revert get_model from myuplink lib (home-assistant#113811)
Browse files Browse the repository at this point in the history
  • Loading branch information
astrandb authored Mar 19, 2024
1 parent 670bd97 commit 0fa3955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/myuplink/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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
Expand Down Expand Up @@ -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,
)

0 comments on commit 0fa3955

Please sign in to comment.