hass-core/homeassistant/components/demo
starkillerOG 7bfc1d2840
Use "arming" state during transition in manual alarm panel (#32950)
* Manual Alarm Control Panel: use proper "Arming" state

* Update previous and next attributes

* add CONF_ARMING_TIME

* Split up arming and pending time, pending_time --> arming_time

* update tests

* fix issort

* fix issort

* fix demo platform

* fix alarm test

* remove arming_time from the triggered state

* Match previous default "delay_time"

* fix tests

* fix arming state when triggering

* fix arming _arming_time_by_state for Triggering state

* change to not in list

* Update homeassistant/components/manual/alarm_control_panel.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* async_update_ha_state -> async_write_ha_state

* black formatting

* add Callback

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* import callback

* update device triggers alarm_control_panel

* Update test_device_trigger.py

* Update device_trigger.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-24 00:07:07 +02:00
..
translations Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
__init__.py Fix demos (#32086) 2020-03-11 08:16:22 -07:00
air_quality.py Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00
alarm_control_panel.py Use "arming" state during transition in manual alarm panel (#32950) 2020-04-24 00:07:07 +02:00
binary_sensor.py Rename BinarySensorDevice to BinarySensorEntity (#34462) 2020-04-23 21:57:07 +02:00
calendar.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
camera.py Clean up camera and demo camera (#34058) 2020-04-12 14:56:19 +02:00
climate.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
config_flow.py Add an options flow to demo (#31920) 2020-02-17 14:10:44 -08:00
const.py
cover.py Fix service helper not handling sync methods (#31254) 2020-01-29 16:27:25 -08:00
demo_0.jpg
demo_1.jpg
demo_2.jpg
demo_3.jpg
device_tracker.py
fan.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
geo_location.py Use LENGTH_KILOMETERS constant (#33976) 2020-04-11 02:12:39 +02:00
image_processing.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
light.py Various light test improvements (#34131) 2020-04-13 15:33:04 +02:00
lock.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
mailbox.py Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00
manifest.json Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
media_player.py Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00
notify.py
remote.py Add config entry and device support to Demo (#28702) 2019-11-13 16:37:31 +01:00
sensor.py Add and use percentage constant (#32094) 2020-02-28 11:46:48 -08:00
services.yaml Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
strings.json Move title translation to root (#33850) 2020-04-15 09:41:18 -07:00
stt.py
switch.py Fix demos (#32086) 2020-03-11 08:16:22 -07:00
tts.mp3
tts.py
vacuum.py Fix demos (#32086) 2020-03-11 08:16:22 -07:00
water_heater.py use isort to sort imports according to PEP8 for demo (#29630) 2019-12-08 22:29:27 +05:30
weather.py Use f-strings in integrations starting with "B"-"E" (#32121) 2020-02-24 08:47:52 -08:00