Skip to content

Commit

Permalink
Fixed DeviceInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-r committed Dec 6, 2024
1 parent 1e02fc8 commit 43e4a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/ohme/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from homeassistant.helpers.entity import DeviceInfo, Entity
from homeassistant.helpers.entity import Entity
from homeassistant.core import callback


Expand All @@ -17,7 +17,7 @@ def __init__(self, cooordinator, hass, client):
self._last_updated = None
self._state = None

self._attr_device_info = DeviceInfo(**client.get_device_info())
self._attr_device_info = client.get_device_info()

async def async_added_to_hass(self) -> None:
"""When entity is added to hass."""
Expand Down

0 comments on commit 43e4a70

Please sign in to comment.