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 daef3c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/ohme/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ def __init__(self, cooordinator, hass, client):
self._last_updated = None
self._state = None

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

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

0 comments on commit daef3c5

Please sign in to comment.