Use new media player enums in homekit_controller (#78105)

* Use new media player enums in homekit_controller

* Replace OK/PROBLEM with ON/OFF

* Fix tests
This commit is contained in:
epenet 2022-09-15 12:00:52 +02:00 committed by GitHub
parent b56eabc35b
commit ada1cff4b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 18 deletions

View file

@ -54,7 +54,7 @@ async def test_lg_tv(hass):
# The LG TV doesn't (at least at this patch level) report
# its media state via CURRENT_MEDIA_STATE. Therefore "ok"
# is the best we can say.
state="ok",
state="on",
),
],
),