mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Update deprecated const usage in alexa integration (#143741)
This commit is contained in:
parent
31fb199670
commit
f94af84f2a
@ -1709,9 +1709,7 @@ async def async_api_changechannel(
|
|||||||
data: dict[str, Any] = {
|
data: dict[str, Any] = {
|
||||||
ATTR_ENTITY_ID: entity.entity_id,
|
ATTR_ENTITY_ID: entity.entity_id,
|
||||||
media_player.const.ATTR_MEDIA_CONTENT_ID: channel,
|
media_player.const.ATTR_MEDIA_CONTENT_ID: channel,
|
||||||
media_player.const.ATTR_MEDIA_CONTENT_TYPE: (
|
media_player.const.ATTR_MEDIA_CONTENT_TYPE: media_player.MediaType.CHANNEL,
|
||||||
media_player.const.MEDIA_TYPE_CHANNEL
|
|
||||||
),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
await hass.services.async_call(
|
await hass.services.async_call(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user