-
- Downloads
Add config flow to philips_js (#45784)
* Add config flow to philips_js * Adjust name of entry to contain serial * Use device id in event rather than entity id * Adjust turn on text * Deprecate all fields * Be somewhat more explicit in typing * Switch to direct coordinator access * Refactor the pluggable action * Adjust tests a bit * Minor adjustment * More adjustments * Add missing await in update coordinator * Be more lenient to lack of system info * Use constant for trigger type and simplify * Apply suggestions from code review Co-authored-by:J. Nick Koston <nick@koston.org> Co-authored-by:
J. Nick Koston <nick@koston.org>
Showing
- .coveragerc 1 addition, 0 deletions.coveragerc
- homeassistant/components/philips_js/__init__.py 131 additions, 1 deletionhomeassistant/components/philips_js/__init__.py
- homeassistant/components/philips_js/config_flow.py 90 additions, 0 deletionshomeassistant/components/philips_js/config_flow.py
- homeassistant/components/philips_js/const.py 4 additions, 0 deletionshomeassistant/components/philips_js/const.py
- homeassistant/components/philips_js/device_trigger.py 65 additions, 0 deletionshomeassistant/components/philips_js/device_trigger.py
- homeassistant/components/philips_js/manifest.json 8 additions, 3 deletionshomeassistant/components/philips_js/manifest.json
- homeassistant/components/philips_js/media_player.py 108 additions, 81 deletionshomeassistant/components/philips_js/media_player.py
- homeassistant/components/philips_js/strings.json 24 additions, 0 deletionshomeassistant/components/philips_js/strings.json
- homeassistant/components/philips_js/translations/en.json 24 additions, 0 deletionshomeassistant/components/philips_js/translations/en.json
- homeassistant/generated/config_flows.py 1 addition, 0 deletionshomeassistant/generated/config_flows.py
- requirements_all.txt 1 addition, 1 deletionrequirements_all.txt
- requirements_test_all.txt 3 additions, 0 deletionsrequirements_test_all.txt
- tests/components/philips_js/__init__.py 25 additions, 0 deletionstests/components/philips_js/__init__.py
- tests/components/philips_js/conftest.py 62 additions, 0 deletionstests/components/philips_js/conftest.py
- tests/components/philips_js/test_config_flow.py 105 additions, 0 deletionstests/components/philips_js/test_config_flow.py
- tests/components/philips_js/test_device_trigger.py 69 additions, 0 deletionstests/components/philips_js/test_device_trigger.py
Loading
Please register or sign in to comment