Sid
c2b3bf3fb9
Enable Ruff RET502 ( #115139 )
2024-05-21 22:19:33 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Sid
a5b609f081
Enable ruff TRY401 ( #114395 )
...
* Enable ruff TRY401
* fix tests
2024-03-29 07:20:36 +01:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler ( #111862 )
2024-02-29 20:07:36 +01:00
Erik Montnemery
29dea2e0ea
Revert "Set volume_step in frontier_silicon media_player" ( #106583 )
...
Revert "Set volume_step in frontier_silicon media_player (#105953 )"
This reverts commit 3e50ca6cda
.
2023-12-28 19:50:57 +01:00
Erik Montnemery
3e50ca6cda
Set volume_step in frontier_silicon media_player ( #105953 )
2023-12-18 11:08:26 +01:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z ( #105657 )
2023-12-13 17:05:37 +01:00
c0ffeeca7
3bbed8965a
Frontier to Glances: add host field description ( #104787 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-30 16:55:53 +01:00
buzz-tee
4bf475185e
Fix invalid sources in media player sources list ( #102646 )
2023-10-25 07:12:55 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Thijs W
726b0c5179
Address late comments in #97955 ( #98165 )
2023-08-10 13:58:48 +02:00
Thijs W
355ef4eac8
Add unique_id to frontier_silicon media_player entity ( #97955 )
2023-08-10 10:19:27 +02:00
Joost Lekkerkerker
69bcba7ef5
Migrate frontier silicon to has entity name ( #96571 )
2023-07-18 09:56:11 +02:00
G Johansson
3633062024
Remove platform yaml Frontier Silicon ( #93552 )
2023-05-26 08:24:08 +02:00
Thijs W
b22c45ea29
Fix radio_id can be unavailable ( #92698 )
...
Allow radio_id to be unavailable
2023-05-07 08:59:36 +02:00
Thijs W
21d887dd04
Fix frontier_silicon not retrying setup and missing strings ( #92111 )
...
Address late review comments for frontier_silicon config flow
2023-04-27 13:14:25 +02:00
Thijs W
053ed3cfdc
Add reauth to frontier_silicon config flow ( #90443 )
...
* Add reauth to frontier_silicon config flow
* Update patch target
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Add reauth_successful to strings.json
* Don't manually set "title_placeholders"
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-30 08:49:46 +02:00
Thijs W
40cb0eeb68
Add missing strings in frontier_silicon ( #90446 )
...
Improve confirm message for ssdp flow
2023-03-30 08:05:24 +02:00
Thijs W
e3cad8baac
Migrate ssdp to config_flow for frontier_silicon ( #89496 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-03-28 16:06:21 -10:00
epenet
f56bf134d2
Improve browse_media type hints in media player ( #90060 )
...
* Improve browse_media type hints in media player
* Adjust components
* Adjust base entity
2023-03-24 21:49:12 -07:00
Thijs Walcarius
cdfb43d403
Address late review comments for frontier_silicon config flow ( #89507 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: wlcrs <wlcrs@users.noreply.github.com>
2023-03-13 15:06:45 +01:00
Thijs W
b8bda93d87
Add config flow to frontier_silicon ( #64365 )
...
* Add config_flow to frontier_silicon
* Add missing translation file
* Delay unique_id validation until radio_id can be determined
* Fix tests
* Improve tests
* Use FlowResultType
* Bump afsapi to 0.2.6
* Fix requirements_test_all.txt
* Stash ssdp, reauth and unignore flows for now
* Re-introduce SSDP flow
* hassfest changes
* Address review comments
* Small style update
* Fix tests
* Update integrations.json
* fix order in manifest.json
* fix black errors
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Address review comments
* fix black errors
* Use async_setup_platform instead of async_setup
* Address review comments on tests
* parameterize tests
* Remove discovery component changes from this PR
* Address review comments
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Add extra asserts to tests
* Restructure _async_step_device_config_if_needed
* Add return statement
* Update homeassistant/components/frontier_silicon/media_player.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-10 10:26:03 +01:00
Erik Montnemery
899adef590
Sort manifests 4 ( #87025 )
2023-02-08 20:27:05 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
cb13418bab
String formatting and max line length - Part 2 ( #84393 )
2022-12-22 11:38:59 +01:00
Thijs W
f2180de7c0
Adjust code comment in Frontier Silicon ( #82969 )
2022-11-30 09:38:37 +01:00
Thijs W
ce1b2f45c7
Add BROWSE_MEDIA support to frontier_silicon ( #74950 )
...
* Add BROWSE_MEDIA support to frontier_silicon
* Address review comments
* Don't use mediatype to differentiate between channels and presets
2022-11-29 13:31:49 +01:00
epenet
64fd84bd88
Use new media player enums in frontier_silicon ( #78101 )
2022-09-10 22:16:04 +02:00
epenet
0482d50d13
Improve type hint in frontier silicon media player ( #77167 )
2022-08-26 10:54:22 +02:00
Thijs W
680a477009
Fix frontier silicon EQ Mode not present on all devices ( #76200 )
...
* Fix #76159 : EQ Mode not present on all devices
* Address review remarks
* Duplicate bookkeeping of sound mode support
* reduce length of try-blocks
2022-08-23 09:41:07 +02:00
epenet
58b9785485
Improve entity type hints [f] ( #77143 )
2022-08-22 13:36:33 +02:00
Thijs W
dddd4e24e2
Bump afsapi to 0.2.7 ( #75579 )
2022-07-22 11:11:31 +02:00
Thijs W
ff1cdb4de7
Bump afsapi to 0.2.6 ( #75041 )
2022-07-12 12:03:26 +02:00
Thijs W
1aeb15050e
Bump afsapi to 0.2.5 ( #74907 )
2022-07-10 21:52:49 +02:00
Thijs W
7d74301045
Add sound mode to frontier silicon ( #72760 )
2022-06-28 14:13:43 -07:00
Thijs W
3ea304aaf1
Improve frontier_silicon style ( #72752 )
2022-05-31 11:56:44 +02:00
Thijs W
db9c586404
Address late comments for frontier silicon ( #72745 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-31 09:56:25 +02:00
Thijs W
d5fc7e3174
Upgrade frontier_silicon library to AFSAPI 0.2.4 ( #69371 )
2022-05-30 18:31:57 +02:00
epenet
9ab9fcfc56
Use EntityFeature enum in components (f**) ( #69389 )
2022-04-06 10:55:25 +02:00
epenet
2709db008c
Remove invalid return values in setup methods [a-h] ( #63362 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-04 11:08:28 +01:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
springstan
228e167b03
Remove unnecessary should poll from media player classes ( #41220 )
2020-10-04 21:26:09 +02:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields ( #33595 )
2020-04-03 12:58:19 -07:00
springstan
ad102b3840
Use f-strings in integrations starting with "F"and"G" ( #32150 )
...
* Use f-strings in integrations starting with F
* Use f-strings in tests for integrations starting with F
* Use f-strings in integrations starting with G
* Use f-strings in tests for integrations starting with G
* Fix pylint error
* Fix broken test
2020-02-24 17:54:20 -08:00
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