-
- Downloads
Support for local push in Risco integration (#75874)
* Local config flow * Local entities * Apply suggestions from code review Co-authored-by:Martin Hjelmare <marhje52@gmail.com> * Address code review comments * More type hints * Apply suggestions from code review Co-authored-by:
Martin Hjelmare <marhje52@gmail.com> * More annotations * Even more annonations * New entity naming * Move fixtures to conftest * Improve state tests for local * Remove mutable default arguments * Remove assertions for lack of state * Add missing file * Switch setup to fixtures * Use error fixtures in test_config_flow * Apply suggestions from code review Co-authored-by:
Martin Hjelmare <marhje52@gmail.com> Co-authored-by:
Martin Hjelmare <marhje52@gmail.com>
Showing
- homeassistant/components/risco/__init__.py 95 additions, 7 deletionshomeassistant/components/risco/__init__.py
- homeassistant/components/risco/alarm_control_panel.py 110 additions, 34 deletionshomeassistant/components/risco/alarm_control_panel.py
- homeassistant/components/risco/binary_sensor.py 100 additions, 44 deletionshomeassistant/components/risco/binary_sensor.py
- homeassistant/components/risco/config_flow.py 70 additions, 7 deletionshomeassistant/components/risco/config_flow.py
- homeassistant/components/risco/const.py 4 additions, 0 deletionshomeassistant/components/risco/const.py
- homeassistant/components/risco/entity.py 4 additions, 2 deletionshomeassistant/components/risco/entity.py
- homeassistant/components/risco/manifest.json 1 addition, 1 deletionhomeassistant/components/risco/manifest.json
- homeassistant/components/risco/sensor.py 19 additions, 19 deletionshomeassistant/components/risco/sensor.py
- homeassistant/components/risco/strings.json 13 additions, 0 deletionshomeassistant/components/risco/strings.json
- homeassistant/components/risco/translations/en.json 14 additions, 1 deletionhomeassistant/components/risco/translations/en.json
- tests/components/risco/conftest.py 148 additions, 0 deletionstests/components/risco/conftest.py
- tests/components/risco/test_alarm_control_panel.py 653 additions, 155 deletionstests/components/risco/test_alarm_control_panel.py
- tests/components/risco/test_binary_sensor.py 154 additions, 55 deletionstests/components/risco/test_binary_sensor.py
- tests/components/risco/test_config_flow.py 155 additions, 33 deletionstests/components/risco/test_config_flow.py
- tests/components/risco/test_sensor.py 41 additions, 45 deletionstests/components/risco/test_sensor.py
- tests/components/risco/util.py 4 additions, 66 deletionstests/components/risco/util.py
Loading
Please register or sign in to comment