-
- Downloads
Add config flow to AnthemAV integration (#53268)
* Add config flow to AnthemAV integration * Add importing of existing configuration * Change setting to optional and add default value * Use entity attribute * Reduce changes by removing additional media player properties * Remove title from translation * Refactor config flow and fix PR comments * Fix a failing test because of wrong renaming * Add typing and use existing class and enum * Bump dependency to v1.3.1 * Remove unecessary async_reload_entry * Fix requirements_test_all after rebase * Add const for timeout and remove async_block in test * Reapply CodeOwner and configflow after rebase * Remove name from configflow * Fix manifest prettier failure * Simplify code and avoid catching broad exception * Removed unused strings and translations * Avoid asserting hass.data
Showing
- CODEOWNERS 2 additions, 0 deletionsCODEOWNERS
- homeassistant/components/anthemav/__init__.py 59 additions, 1 deletionhomeassistant/components/anthemav/__init__.py
- homeassistant/components/anthemav/config_flow.py 96 additions, 0 deletionshomeassistant/components/anthemav/config_flow.py
- homeassistant/components/anthemav/const.py 7 additions, 0 deletionshomeassistant/components/anthemav/const.py
- homeassistant/components/anthemav/manifest.json 3 additions, 2 deletionshomeassistant/components/anthemav/manifest.json
- homeassistant/components/anthemav/media_player.py 66 additions, 47 deletionshomeassistant/components/anthemav/media_player.py
- homeassistant/components/anthemav/strings.json 19 additions, 0 deletionshomeassistant/components/anthemav/strings.json
- homeassistant/components/anthemav/translations/en.json 19 additions, 0 deletionshomeassistant/components/anthemav/translations/en.json
- homeassistant/components/anthemav/translations/fr.json 19 additions, 0 deletionshomeassistant/components/anthemav/translations/fr.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/anthemav/__init__.py 1 addition, 0 deletionstests/components/anthemav/__init__.py
- tests/components/anthemav/conftest.py 28 additions, 0 deletionstests/components/anthemav/conftest.py
- tests/components/anthemav/test_config_flow.py 115 additions, 0 deletionstests/components/anthemav/test_config_flow.py
- tests/components/anthemav/test_init.py 65 additions, 0 deletionstests/components/anthemav/test_init.py
homeassistant/components/anthemav/const.py
0 → 100644
tests/components/anthemav/__init__.py
0 → 100644
tests/components/anthemav/conftest.py
0 → 100644
tests/components/anthemav/test_init.py
0 → 100644
Please register or sign in to comment