Skip to content

Commit

Permalink
Fix support old Hass versions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 16, 2024
1 parent 7488e1a commit 1351306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom_components/yandex_station/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from homeassistant.components.media_player import MediaPlayerState, MediaType
from homeassistant.const import CONTENT_TYPE_MULTIPART
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.device_registry import DeviceInfo
from homeassistant.helpers.entity import DeviceInfo

from .core.const import DOMAIN
from .core.image import draw_cover, draw_lyrics, draw_none
Expand Down
3 changes: 1 addition & 2 deletions custom_components/yandex_station/core/entity.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging

from homeassistant.helpers.device_registry import DeviceInfo
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.entity import DeviceInfo, Entity

from .const import DOMAIN
from .yandex_quasar import YandexQuasar
Expand Down

0 comments on commit 1351306

Please sign in to comment.