0f076610fd
* Add siren platform * add more supported flags and an ability to set siren duration * tone can be int or string * fix typing * fix typehinting * fix typehints * implement a proposed approach based on discussion * Address comments * fix tests * Small fix * Update homeassistant/components/demo/siren.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/demo/siren.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/demo/siren.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/demo/siren.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/demo/siren.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * typing * use class attributes * fix naming * remove device from service description * Filter out params from turn on service * fix tests * fix bugs and tests * add test * Combine is_on test with turn on/off/toggle service tests * Update homeassistant/components/siren/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * fix filtering of turn_on attributes * none check * remove services and attributes for volume level, default duration, and default tone * Update homeassistant/components/siren/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Update homeassistant/components/siren/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Update homeassistant/components/siren/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * import final * Update homeassistant/components/siren/__init__.py Co-authored-by: Franck Nijhof <frenck@frenck.nl> * Fix typing and used TypedDict for service parameters * remove is_on function * remove class name redundancy * remove extra service descriptions * switch to positive_int * fix schema for tone Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Franck Nijhof <frenck@frenck.nl> |
||
---|---|---|
.. | ||
translations | ||
__init__.py | ||
air_quality.py | ||
alarm_control_panel.py | ||
binary_sensor.py | ||
calendar.py | ||
camera.py | ||
climate.py | ||
config_flow.py | ||
const.py | ||
cover.py | ||
demo_0.jpg | ||
demo_1.jpg | ||
demo_2.jpg | ||
demo_3.jpg | ||
device_tracker.py | ||
fan.py | ||
geo_location.py | ||
humidifier.py | ||
image_processing.py | ||
light.py | ||
lock.py | ||
mailbox.py | ||
manifest.json | ||
media_player.py | ||
notify.py | ||
number.py | ||
remote.py | ||
select.py | ||
sensor.py | ||
services.yaml | ||
siren.py | ||
strings.json | ||
strings.select.json | ||
stt.py | ||
switch.py | ||
tts.mp3 | ||
tts.py | ||
vacuum.py | ||
water_heater.py | ||
weather.py |