-
- Downloads
Update bravia-tv backend (#34376)
* bravia-tv version bump * Fix Auth Cookies - Fix authentication cookie expiration. - Remove obsolete error handling (since bravia-tv==1.0.2) - Remove obsolete mac address references. (since bravia-tv==1.0.2) - Update tests. * fix async_refresh_playing_info * Improve code format Co-Authored-By:Martin Hjelmare <marhje52@gmail.com> * Config_entry needs mac address for HA restart This was mistakenly taken out. Home-Assistant needs to store mac address in case restarted. TV needs to be on to acquire mac address. This is neccesary to allow TV to be turned on by Home-Assistant after Home-Assistant is restarted. * Skip update() during state changes It is best for performance to skip updates during state change because bravia.turn_on() will commonly push async_update() beyond it's update interval. * update tests Co-authored-by:
Martin Hjelmare <marhje52@gmail.com>
Showing
- homeassistant/components/braviatv/__init__.py 3 additions, 12 deletionshomeassistant/components/braviatv/__init__.py
- homeassistant/components/braviatv/config_flow.py 4 additions, 5 deletionshomeassistant/components/braviatv/config_flow.py
- homeassistant/components/braviatv/manifest.json 1 addition, 1 deletionhomeassistant/components/braviatv/manifest.json
- homeassistant/components/braviatv/media_player.py 65 additions, 51 deletionshomeassistant/components/braviatv/media_player.py
- requirements_all.txt 1 addition, 1 deletionrequirements_all.txt
- requirements_test_all.txt 1 addition, 1 deletionrequirements_test_all.txt
- tests/components/braviatv/test_config_flow.py 2 additions, 2 deletionstests/components/braviatv/test_config_flow.py
Loading
Please register or sign in to comment