Catch API errors in cast media_player service handlers #113839
89.74% of diff hit (target 97.79%)
View this Pull Request on Codecov
89.74% of diff hit (target 97.79%)
Annotations
Check warning on line 108 in homeassistant/components/cast/media_player.py
codecov / codecov/patch
homeassistant/components/cast/media_player.py#L108
Added line #L108 was not covered by tests
Check warning on line 519 in homeassistant/components/cast/media_player.py
codecov / codecov/patch
homeassistant/components/cast/media_player.py#L519
Added line #L519 was not covered by tests
Check warning on line 536 in homeassistant/components/cast/media_player.py
codecov / codecov/patch
homeassistant/components/cast/media_player.py#L536
Added line #L536 was not covered by tests
Check warning on line 543 in homeassistant/components/cast/media_player.py
codecov / codecov/patch
homeassistant/components/cast/media_player.py#L543
Added line #L543 was not covered by tests