core/homeassistant
jezcooke a533b7a746
Fix volume control for Frontier Silicon media players (#32040)
* Fixed volume control for Frontier Silicon media players.

* Removed unnecessary else which caused pylint test to fail.

* Removed whitespace on empty line.

* Tweaks from on springstan's suggestions and other fixes

* Apply suggestions from code review

Co-Authored-By: springstan <46536646+springstan@users.noreply.github.com>

* Comment to explain why 1 is subtracted from volume_Steps

Also reformatted using black after code review changes.

* Split up the set volume functions into steps rather than all in-line as suggested.

* Renamed _volume_steps to _max_volume.

* Prevent asnyc_update from failing if we can't get the volume steps

Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-02-23 17:37:31 +01:00
..
auth Replace cmp option with eq and order (#31423) 2020-02-02 20:28:52 -08:00
components Fix volume control for Frontier Silicon media players (#32040) 2020-02-23 17:37:31 +01:00
generated Add initial version of Vilfo Router integration (#31177) 2020-02-12 19:11:15 +01:00
helpers Add missing name to logging in DataUpdateCoordinator (#32023) 2020-02-20 16:51:15 +01:00
scripts Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
util Optimize find bad JSON data (#31963) 2020-02-18 16:06:13 -08:00
__init__.py
__main__.py Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
bootstrap.py Only check frontend for safe mode if frontend wanted to be loa… (#31969) 2020-02-19 15:56:46 +01:00
config.py Add www. to all documentation links (#32063) 2020-02-21 16:10:02 -08:00
config_entries.py Annotate more async functions correctly (#31802) 2020-02-14 10:00:22 -08:00
const.py Bumped version to 0.107.0dev0 2020-02-20 11:44:00 +01:00
core.py Extend safe mode (#31927) 2020-02-18 11:52:38 -08:00
data_entry_flow.py Fix typos found by codespell (#31243) 2020-01-31 08:33:00 -08:00
exceptions.py
loader.py Extend safe mode (#31927) 2020-02-18 11:52:38 -08:00
package_constraints.txt Updated frontend to 20200220.1 (#32046) 2020-02-20 14:51:27 -08:00
requirements.py
setup.py print component import error to logfile (#30346) 2020-01-19 22:05:10 -08:00