epenet
afe01c2434
Use attributes in demo media player ( #78040 )
2022-11-28 10:19:47 +01:00
epenet
6424c71daa
Cleanup supported_features in demo ( #82239 )
...
* Cleanup supported_features in demo cover
* Improve other platforms
* Adjust media_player patch
2022-11-17 09:39:46 +01:00
epenet
be17ba15db
Use attributes in demo media-player ( #78461 )
...
* Use attributes in demo media-player
* Use _attr_is_volume_muted
* Use _attr_shuffle
* Use _attr_sound_mode / _attr_sound_mode_list
2022-09-16 15:04:29 -06:00
epenet
a443cefa7b
Use self._attr_state in demo media player ( #78520 )
2022-09-15 08:44:20 -04:00
epenet
fd05d949cc
Fix device_class in demo ( #78463 )
...
Use _attr_device_class in demo
2022-09-14 20:09:31 +03:00
epenet
b0777e6280
Use new media player enums in demo ( #78114 )
...
* Use new media player enums in demo
* Adjust import location
2022-09-11 16:48:18 +02:00
epenet
7eb8e1f25d
Improve type hints in demo [1/3] ( #77180 )
2022-08-28 17:51:10 -05:00
epenet
bf7239c25d
Improve entity type hints [d] ( #77031 )
2022-08-19 16:10:45 +02:00
Franck Nijhof
17403f930f
Add EntityFeature enum to Media Player ( #69119 )
2022-04-02 20:58:23 -07:00
Paulus Schoutsen
bc41028800
Some tweaks to the demo ( #65623 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-04 09:49:47 +01:00
epenet
9b5939a7a5
Add setup type hints to all demo platforms ( #63294 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 16:24:09 +01:00
definitio
e090581e3c
Add stop for demo players ( #50485 )
2021-05-12 10:26:12 +02:00
Dan Klaffenbach
5174f63fd8
Add definitions for grouping media players ( #41193 )
...
* Add definitions for grouping media players
See https://github.com/home-assistant/architecture/issues/364
* Fix Google Assistant tests
* Define sync versions of async_join_players/async_unjoin
* Don't use async API in synchronous test methods
* Fix tests and make pylint happy
The method name `unjoin` is used by another component, so let's use
`unjoin_player` instead.
* Fix emulated_hue tests
The new media player entity in the `demo` component requires a tiny
adjustment in the emulated_hue tests.
* Use "target:" in service description
* Also use "name:" in service descriptions
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-03-18 18:19:28 +01:00
Anders Melchiorsen
d00655810f
Add media_player.repeat_set service ( #41435 )
2020-10-12 23:29:28 +02:00
Joakim Plate
6fa04aa3e3
Add support for InputSelector trait ( #35753 )
2020-07-18 16:07:32 -07:00
Erik Montnemery
62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity ( #34592 )
2020-04-25 18:00:57 +02:00
springstan
9801810552
Use f-strings in integrations starting with "B"-"E" ( #32121 )
...
* Use f-strings in integrations starting with B
* Use f-strings in integrations starting with C
* Use f-strings in integrations starting with D
* Use f-strings in integrations starting with E
* Fix pylint errors
* Fix pylint errors v2
* Fix tests
* Fix tests v2
2020-02-24 08:47:52 -08:00
Ville Skyttä
e6388e186c
Remove unnecessary string literal concatenations ( #30360 )
2020-01-02 21:17:10 +02:00
Bram Kragten
15e6278a2e
Add config entry and device support to Demo ( #28702 )
...
* Add config entry and device support to Demo
* Some more devices
* Fix tests using demo
* Review comments
* Update config_flow.py
* Revert
* Disable pylint
2019-11-13 16:37:31 +01:00
Franck Nijhof
decf13b948
Use literal string interpolation in core (f-strings) ( #26166 )
2019-08-23 09:53:33 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Joakim Plate
c7a78ed522
Add stepped volume to demo ( #23759 )
...
* Add stepped volume to demo
* Simplify somewhat to avoid extra check
2019-05-09 10:18:22 -07:00
Joakim Plate
39932d132d
Add device classes for media player and map to google types ( #23236 )
...
* Add device classes for media player and map to google types
* Switch default class for media_player to media
2019-04-25 13:12:11 -07:00
Andrew Sayre
7624d0e79f
Check for supported features in media_player services ( #22878 )
...
* Add check for supported features
* Move logic to service helper
* Fix hacked in test for seek
* Test for service required features
2019-04-10 09:44:58 -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
1ddc249989
Consolidate more platforms ( #22308 )
...
* Consolidate final platforms
* Fix some tests
* Fix more tests
* Fix more tests
2019-03-23 20:22:35 -07:00