mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Bump afsapi to 0.2.6 (#75041)
This commit is contained in:
parent
5930f056a8
commit
ff1cdb4de7
@ -2,7 +2,7 @@
|
|||||||
"domain": "frontier_silicon",
|
"domain": "frontier_silicon",
|
||||||
"name": "Frontier Silicon",
|
"name": "Frontier Silicon",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/frontier_silicon",
|
"documentation": "https://www.home-assistant.io/integrations/frontier_silicon",
|
||||||
"requirements": ["afsapi==0.2.5"],
|
"requirements": ["afsapi==0.2.6"],
|
||||||
"codeowners": ["@wlcrs"],
|
"codeowners": ["@wlcrs"],
|
||||||
"iot_class": "local_polling"
|
"iot_class": "local_polling"
|
||||||
}
|
}
|
||||||
|
@ -179,11 +179,14 @@ class AFSAPIDevice(MediaPlayerEntity):
|
|||||||
self._attr_media_artist = await afsapi.get_play_artist()
|
self._attr_media_artist = await afsapi.get_play_artist()
|
||||||
self._attr_media_album_name = await afsapi.get_play_album()
|
self._attr_media_album_name = await afsapi.get_play_album()
|
||||||
|
|
||||||
self._attr_source = (await afsapi.get_mode()).label
|
radio_mode = await afsapi.get_mode()
|
||||||
|
self._attr_source = radio_mode.label if radio_mode is not None else None
|
||||||
|
|
||||||
self._attr_is_volume_muted = await afsapi.get_mute()
|
self._attr_is_volume_muted = await afsapi.get_mute()
|
||||||
self._attr_media_image_url = await afsapi.get_play_graphic()
|
self._attr_media_image_url = await afsapi.get_play_graphic()
|
||||||
self._attr_sound_mode = (await afsapi.get_eq_preset()).label
|
|
||||||
|
eq_preset = await afsapi.get_eq_preset()
|
||||||
|
self._attr_sound_mode = eq_preset.label if eq_preset is not None else None
|
||||||
|
|
||||||
volume = await self.fs_device.get_volume()
|
volume = await self.fs_device.get_volume()
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ adguardhome==0.5.1
|
|||||||
advantage_air==0.3.1
|
advantage_air==0.3.1
|
||||||
|
|
||||||
# homeassistant.components.frontier_silicon
|
# homeassistant.components.frontier_silicon
|
||||||
afsapi==0.2.5
|
afsapi==0.2.6
|
||||||
|
|
||||||
# homeassistant.components.agent_dvr
|
# homeassistant.components.agent_dvr
|
||||||
agent-py==0.0.23
|
agent-py==0.0.23
|
||||||
|
Loading…
x
Reference in New Issue
Block a user