Skip to content

Commit

Permalink
Replace unmaintained BraviaRC backend with new fork: (#31234)
Browse files Browse the repository at this point in the history
BraviaRC is currently unmaintained for home-assistant. This commit
    swaps it out with a new fork of BraviaRC called python-bravia-tv.
    This captures all bug fixes from BraviaRC release 3.7 (previously
    linked backend) to right before BraviaRC breaks when used by home-assistant.
    The intent of forking is to be able to continue supporting home-assistant.
    This is not intended to be a one off solution; this new fork will have
    future updates and be maintain as needed.

    This initial commit of python-bravia-tv improves the import process,
    however overall preserves the original API.
    Other fixes include:

    * Fix set-volume slider
    * Better error handling
    * Increase input options

    Resolves: #26351, #30964
    See also: #12577, #14843, #17345, #18245
  • Loading branch information
dcnielsen90 committed Feb 1, 2020
1 parent 3275987 commit 9821047
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/braviatv/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"domain": "braviatv",
"name": "Sony Bravia TV",
"documentation": "https://www.home-assistant.io/integrations/braviatv",
"requirements": ["braviarc-homeassistant==0.3.7.dev0", "getmac==0.8.1"],
"requirements": ["bravia-tv==1.0", "getmac==0.8.1"],
"dependencies": ["configurator"],
"codeowners": ["@robbiet480"]
}
2 changes: 1 addition & 1 deletion homeassistant/components/braviatv/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import ipaddress
import logging

from braviarc.braviarc import BraviaRC
from bravia_tv import BraviaRC
from getmac import get_mac_address
import voluptuous as vol

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ bomradarloop==0.1.3
boto3==1.9.252

# homeassistant.components.braviatv
braviarc-homeassistant==0.3.7.dev0
bravia-tv==1.0

# homeassistant.components.broadlink
broadlink==0.12.0
Expand Down

0 comments on commit 9821047

Please sign in to comment.