Commit Graph

182 Commits (cc564026fa63e3431e85aa758003b0e2bae01e0a)

Author SHA1 Message Date
Erik Montnemery 1450b44c63
Sort manifests 7 (#87028) 2023-02-08 20:32:43 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Marc Mueller 07a3046d11
Update pylint to 2.16.0 (#87083) 2023-02-02 12:49:01 +01:00
epenet 5005ba0b4a
Improve typing in philips_js coordinator (#87075) 2023-02-01 12:15:58 +01:00
Joakim Plate 9f5b1e58cb
Support playback of channel preset in philips_js (#86491)
* Correct invalid browse check

* Support play_media of channel number

* Use ChannelStep instead of Next/Previous
2023-01-24 11:53:17 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Joakim Plate 8b6e54a01b
Switch play pause method in philips js (#85343)
fixes undefined
2023-01-08 00:14:25 +01:00
Joakim Plate e3e64c103d
Switch to attr use in philips js (#85345) 2023-01-07 15:00:32 +01:00
Joakim Plate 09a83b90ea
Make sure philips_hs remote entity calls parent added (#84082)
Make sure remote calls parent added
2022-12-16 09:25:05 -05:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
Joakim Plate 2ca7d0dd97
Make sure super async_added_to_hass is called (#83493)
Make sure super added to hass is called
2022-12-08 02:21:55 +01:00
epenet 9d192643ee
Move PluggableAction to trigger helpers (#81900)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Joakim Plate <elupus@ecce.se>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-11-22 11:35:18 +01:00
epenet 18e30e7c06
Adjust type hints for MediaPlayerEntityFeature (#82258) 2022-11-17 13:58:34 +01:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
Joakim Plate 5d09fe8dc1
Avoid logging tracebacks for auth failures in philips js (#80381)
Avoid logging tracebacks for auth failures
2022-10-16 18:13:32 +03:00
epenet 52b5e1779f
Use new media player enums [p] (#78058) 2022-09-08 22:54:43 +02:00
epenet 474844744b
Improve entity type hints [p] (#77871) 2022-09-06 09:51:33 +02:00
Marc Mueller 702f8180a6
Use TriggerActionType [l-t] (#76813) 2022-08-15 14:00:42 -04:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
Marc Mueller 70aeaa3c76
Use Callback protocol for AutomationActionType (#76054) 2022-08-09 16:10:26 -04:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
Joakim Plate a0ef3ad21b
Use stored philips_js system data on start (#75981)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-05 16:06:19 +02:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
epenet 7b1463e03d
Improve type hints in light [i-r] (#75943) 2022-07-31 13:53:22 +02:00
Martin Hjelmare c05905ebda
Remove callback decorator from coroutine functions (#75626)
* Remove callback decorator from coroutine functions

* Remove some more callback decorators
2022-07-22 19:09:02 +02:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
Joakim Plate 4080d2b0da
Convert philips_js to entity naming (#74721)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-09 19:34:51 +02:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
epenet c6bff8ae18
Remove philips_js from mypy ignore list (#74659)
* Remove philips_js from mypy ignore list

* Use class attribute
2022-07-07 22:00:19 +02:00
Joakim Plate 8910d265d6
Keep track of a context for each listener (#72702)
* Remove async_remove_listener

This avoids the ambuigity as to what happens if same callback is added multiple times.

* Keep track of a context for each listener

This allow a update coordinator to adapt what data to request on update from the backing service based on which entities are enabled.

* Clone list before calling callbacks

The callbacks can end up unregistering and modifying the dict while iterating.

* Only yield actual values

* Add a test for update context

* Factor out iteration of _listeners to helper

* Verify context is passed to coordinator

* Switch to Any as type instead of object

* Remove function which use was dropped earliers

The use was removed in 8bee25c938
2022-06-03 13:55:57 +02:00
epenet 4f14d40072
Adjust config-flow type hints in philips_js (#72443) 2022-05-25 09:00:42 +02:00
epenet caa2412103
Adjust device_automation type hints in philips_js (#72137) 2022-05-23 14:57:09 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
epenet fc84e4061f
Cleanup deprecated async_get_registry in philips_js (#72071) 2022-05-18 11:59:13 +02:00
epenet b4cea96c21
Migrate philips_js light to ColorMode (#70877) 2022-04-27 14:23:31 +02:00
epenet ca337b54a3
Use ColorMode enum in philips_js (#70529) 2022-04-23 11:27:32 -10:00
Bram Gerritsen 1da7927fbb
Fix issue with turning the ambilight on after switched off (#69132)
* Refactor ambilight component. Fix issue with turning the ambilight on after switched off

* Move dataclass to original location. Add factory method

* Remove follow video effect list

* Fix log

* Remove follow video effect list

* Update homeassistant/components/philips_js/light.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Update homeassistant/components/philips_js/light.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Add missing typing

* Fix issues with restoring last state

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-04-19 06:32:18 +02:00
epenet 80a857c6c2
Use EntityFeature enum in components (p**) (#69434) 2022-04-07 15:03:42 +02:00
Bram Gerritsen 9c949f7f8f
PhilipsTV - Add Ambilight + Hue switch entity (#69141)
* Bump ha-philipsjs requirements

* Directly write correct ha state after switching on

* Update homeassistant/components/philips_js/switch.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Update homeassistant/components/philips_js/switch.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Format with black

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-04-05 10:23:07 +02:00
epenet e362871499
Prettify json (strings.json) (#68885) 2022-03-30 10:35:30 +02:00
Marc Mueller b664bcd007
Update coordinator typing (4) [o-p] (#68464) 2022-03-21 14:45:24 +01:00
Joakim Plate 6069d26800
Rename root media folder to integration name (#68213) 2022-03-17 11:13:46 +01:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
Joakim Plate bc856ea24d
Add fallback for serialnumber (#66553) 2022-02-15 13:42:18 -08:00
GitHub Action ad0cb4831e [ci skip] Translation update 2022-02-14 00:15:30 +00:00