Commit graph

9 commits

Author SHA1 Message Date
Franck Nijhof
ed79265843
Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum () 2022-07-07 21:28:18 +02:00
Franck Nijhof
a9a14d6544
Remove deprecated YAML configuration from Yale Smart Alarm () 2022-03-31 13:09:24 -07:00
G Johansson
9610fa5979
Code cleanup yale_smart_alarm () 2022-02-11 18:04:04 -06:00
G Johansson
a334e0c7b9
Exception handling config flow yale_smart_alarm () 2022-01-17 19:29:55 -08:00
G Johansson
91900f8e4e
Add yale_smart_alarm config options flow () 2022-01-07 16:32:49 +01:00
G Johansson
e7ef317b43
Bump yalesmartalarmclient to v0.3.7 () 2022-01-07 15:15:23 +01:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ()
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
G Johansson
f0d5ae2fec
Add yale_smart_alarm config flow and coordinator ()
* config flow and coordinator

* comply with pylint

* Remove pylint errors

* Update test coverage yale smart alarm

* Update test config_flow

* Fix test already configured

* Second try test already configured

* Fixes config flow and tests

* Conform pylint errors coordinator

* Fix various review remarks

* Correct entity unique id

* Fix unique id and migrate entries

* Remove lock code

* Remove code from test

* Expand code coverage config flow test

* Add more constants

* Add test new requirements

* Minor corrections

* Resolve conflict alarm schema

* Change logger

* Changed from review

* Fix isort error

* Fix flake error

* Ignore mypy errors

* Corrections from PR review no 2

* Corrections from PR review no 3

* Added tests and fix pylint error

* Corrections from PR review no 4

* Corrections from PR review no 5

* Corrections from PR review no 6

* Corrections from PR review no 6_2

* Corrections from PR review no 7

* Corrections from PR review no 8

* Minor last changes for PR

* Update homeassistant/components/yale_smart_alarm/coordinator.py

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2021-07-24 13:55:43 -04:00