-
- Downloads
Add Reolink chime play action (#123245)
* Add chime play service * fix supported_feature * finalize * add tests * Adjust to device service * fix issue * Add tests * actions -> services * fix styling * Use conftest fixture for test_chime * Update tests/components/reolink/test_services.py Co-authored-by:Joost Lekkerkerker <joostlek@outlook.com> * use ATTR_RINGTONE and rename chime_play to play_chime * Add translatable exceptions * fix styling * Remove option to use entity_id * fixes * Fix translations * fix * fix translation key * remove translation key * use callback for async_setup_services * fix styling * Add test_play_chime_service_unloaded --------- Co-authored-by:
Joost Lekkerkerker <joostlek@outlook.com>
Showing
- homeassistant/components/reolink/__init__.py 14 additions, 30 deletionshomeassistant/components/reolink/__init__.py
- homeassistant/components/reolink/icons.json 2 additions, 1 deletionhomeassistant/components/reolink/icons.json
- homeassistant/components/reolink/services.py 80 additions, 0 deletionshomeassistant/components/reolink/services.py
- homeassistant/components/reolink/services.yaml 27 additions, 0 deletionshomeassistant/components/reolink/services.yaml
- homeassistant/components/reolink/strings.json 38 additions, 0 deletionshomeassistant/components/reolink/strings.json
- homeassistant/components/reolink/util.py 36 additions, 1 deletionhomeassistant/components/reolink/util.py
- tests/components/reolink/test_select.py 2 additions, 0 deletionstests/components/reolink/test_select.py
- tests/components/reolink/test_services.py 116 additions, 0 deletionstests/components/reolink/test_services.py
homeassistant/components/reolink/services.py
0 → 100644
tests/components/reolink/test_services.py
0 → 100644
Please register or sign in to comment