Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
G Johansson
b33d5fece6
Remove platform YAML from Snapcast ( #101225 )
2023-10-02 08:59:06 +02:00
Joost Lekkerkerker
73651dbffd
Use shorthand attributes in Snapcast ( #99840 )
2023-09-07 16:37:30 +02:00
Erik Montnemery
08a5f63474
Add deprecated_yaml issue to the homeassistant integration ( #95980 )
...
* Add deprecated_yaml issue to the homeassistant integration
* Update test
* Update homeassistant/components/homeassistant/strings.json
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Include DOMAIN in issue_id
* Update test
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-10 13:06:52 +02:00
Franck Nijhof
06d47185fe
Revert "Remove snapcast YAML configuration ( #93547 )" ( #95523 )
2023-06-29 12:00:41 +02:00
G Johansson
40cb9337c5
Remove snapcast YAML configuration ( #93547 )
...
Remove platform yaml snapcast
2023-06-05 18:28:08 +02:00
luar123
869f970e59
Fix Snapcast connection issues ( #93010 )
...
* Add (dis)connect and update listeners, terminate connection and reconnect. Set availability
* Pass entry_id to constructor
2023-05-24 08:16:09 +02:00
luar123
209650dca1
Remove snapcast friendly_name attribute ( #93116 )
...
Remove friendly_name attribute and fix names
2023-05-15 22:23:24 +03:00
luar123
c7e8fc9f9d
Use more meaningful states for snapcast groups and clients ( #77449 )
...
* Show muted snapcast groups as idle and use playing/idle state instead of on state for clients
* New module constant STREAM_STATUS
* Fix return type hint in snapcast
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-31 12:38:23 +02:00
luar123
f0710bae06
Add config-flow to Snapcast ( #80288 )
...
* initial stab at snapcast config flow
* fix linting errors
* Fix linter errors
* Add import flow, support unloading
* Add test for import flow
* Add dataclass and remove unique ID in config-flow
* remove translations
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Refactor config flow and terminate connection
* Rename test_config_flow.py
* Fix tests
* Minor fixes
* Make mock_create_server a fixture
* Combine tests
* Abort if entry already exists
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Move HomeAssistantSnapcast to own file. Clean-up last commit
* Split import flow from user flow. Fix tests.
* Use explicit asserts. Add default values to dataclass
* Change entry title to Snapcast
---------
Co-authored-by: Barrett Lowe <barrett.lowe@gmail.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-30 07:42:09 +02:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
3b5fd4bd06
Enable Ruff TRY004 ( #86811 )
2023-01-30 14:06:52 +01:00
epenet
9e1cb914b1
Use new media player enums in snapcast ( #78109 )
2022-09-10 22:24:01 +02:00
epenet
0c767bd0d3
Improve entity type hints [s] (part 1/2) ( #77881 )
2022-09-06 13:35:14 +02:00
luar123
8afcde4ea9
Add and remove Snapcast client/group callbacks properly ( #77624 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-09-01 08:52:06 -04:00
epenet
2b9116f1f8
Use _attr_should_poll in components [s-t] ( #77368 )
...
* Use _attr_should_poll in components [s-t]
* Adjust touchline
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-26 22:03:50 -04:00
epenet
d5ab7e7525
Use EntityFeature enum in components (s** 1/2) ( #69439 )
2022-04-06 21:38:14 -10:00
epenet
992f9c3c6c
Add setup type hints [s] (part 2) ( #63479 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 17:34:18 +01:00
definitio
6a474e74e8
Fix Snapcast state after restoring snapshot ( #51340 )
2021-06-01 19:07:51 +02:00
Franck Nijhof
2ed386f9e6
Migrate to async_get_current_platform everywhere ( #50034 )
2021-05-03 09:34:28 -07:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() ( #47759 )
2021-03-11 21:23:20 +01:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
BarrettLowe
ba394fd2aa
Add snapcast latency attribute and service ( #34126 )
...
* Implemented snapcast latency attributes
* Code review changes and Snapcast maintenance
Updated how entity services get called - now conforms to most
current method
* Cleanup tasks
Moved constants into separate file
Removed unnecessary logger message
Remove unnecessary schemas
* FIx linting errors
* Sort imports
* Update with requested change
Better - use next()
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Add guards for bad service calls
* Add back in platform schema
* Add check for unjoin service call
* Fix lint/format
* remove comma inserted by black
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-14 20:22:01 +02:00
Paulus Schoutsen
aaa1d06809
Directly call async_write_ha_state ( #33508 )
...
* Directly call async_write_ha_state
* Address comments
* Fix tests
2020-04-01 14:19:51 -07:00
Michał Mrozek
a5ec5b567e
move imports in snapcast component ( #27940 )
2019-10-20 10:05:37 +02:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
lyghtnox
caa7a3a3d6
Multiroom support for snapcast ( #24061 )
...
* Multiroom support for snapcast
* Moving services to the snapcast domain
* Passing asyncio event via dispatcher instead of hass.data
* Fixing lint
2019-07-19 12:43:44 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ( #22096 )
...
* Consolidate
* Fix tests
* Update imports
* Fix import
* Use importlib because integration and package share name
* Fix more tests
* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00