mirror of
https://github.com/home-assistant/core.git
synced 2026-05-26 18:26:25 +01:00
b4f8fe8d4d
* Add media platform * Add more props * Fix platform filename * Working * Add a test * Update test and fixture * Refactor media player properties to handle null values * Add comments * add more assertions * Fix test docstring * Use walrus instead. Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Test when media player is idle * Fix tests * Remove None type from volume_level Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> * Return media position only when a media duration is > 0 * Remove impossible None type * Add snapshot and freezer --------- Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>