Commit Graph

73 Commits (d7247c2acea6858cbfb3b5cb49624acaff5c403b)

Author SHA1 Message Date
J. Nick Koston f9a2c1cfd5
Reduce config entry setup/unload boilerplate V-Z (#49789) 2021-04-27 22:51:11 +02:00
Milan Meulemans 48695869f9
Change dict[str, Any] to FlowResultDict (#49546) 2021-04-22 17:23:15 -10:00
HomeAssistant Azure 69c1721c2a [ci skip] Translation update 2021-04-22 00:02:50 +00:00
J. Nick Koston fd21c460a0
Fix memory leak in verisure (#49460) 2021-04-20 09:04:34 -07:00
Marc Mueller c07646db5d
Update typing syntax (#49480)
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
HomeAssistant Azure f6a24e8d68 [ci skip] Translation update 2021-04-20 00:04:05 +00:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure e86aad34b9 [ci skip] Translation update 2021-04-15 00:02:56 +00:00
HomeAssistant Azure c7d19d5115 [ci skip] Translation update 2021-04-12 00:04:19 +00:00
J. Nick Koston 4cd7f9bd8b
Raise ConfigEntryAuthFailed during setup or coordinator update to start reauth (#48962) 2021-04-09 19:41:29 -10:00
Franck Nijhof 1dafea705d
Fix possibly missing changed_by in Verisure Alarm (#48867) 2021-04-08 19:03:11 +02:00
Johan Nenzén e70111b93c
Add missing super call in Verisure Camera entity (#48812) 2021-04-08 17:00:49 +02:00
Paulus Schoutsen 0f757c3db2
Fix verisure deadlock (#48691) 2021-04-05 12:22:25 +02:00
HomeAssistant Azure a0483165da [ci skip] Translation update 2021-04-01 00:03:55 +00:00
HomeAssistant Azure 919247f256 [ci skip] Translation update 2021-03-31 00:04:33 +00:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
J. Nick Koston a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate (#48451) 2021-03-29 12:51:39 -10:00
HomeAssistant Azure 357dedf5ef [ci skip] Translation update 2021-03-29 00:04:31 +00:00
Franck Nijhof da2fecb312
Pre-calculate Verisure alarm states (#48340)
* Pre-calculate Verisure alarm states

* Correct super call
2021-03-26 08:21:11 +01:00
HomeAssistant Azure d5afd0afb3 [ci skip] Translation update 2021-03-26 00:04:15 +00:00
HomeAssistant Azure 6660fb7478 [ci skip] Translation update 2021-03-25 00:03:36 +00:00
Franck Nijhof 6932cf9534
Use contextlib.suppress where possible (#48189) 2021-03-23 14:36:43 +01:00
HomeAssistant Azure 55b689b464 [ci skip] Translation update 2021-03-23 00:03:29 +00:00
Erik Montnemery 783b453bbe
Migrate integrations t-v to extend SensorEntity (#48216) 2021-03-22 19:47:44 +01:00
HomeAssistant Azure 098c53e8b5 [ci skip] Translation update 2021-03-20 00:04:10 +00:00
HomeAssistant Azure f625e324dd [ci skip] Translation update 2021-03-18 00:07:07 +00:00
HomeAssistant Azure 4306c8fbb4 [ci skip] Translation update 2021-03-17 00:03:55 +00:00
Franck Nijhof f695155af5
Add device classes to Verisure sensors (#47990) 2021-03-16 16:30:04 +01:00
Franck Nijhof 354c0a7fd1
Add reauthentication to Verisure (#47972)
* Add reauthentication to Verisure

* Update translations

* Correct translation step key

* Address pylint warning

* = is not :
2021-03-16 08:41:41 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Franck Nijhof 5f627df6f8
Add devices to Verisure integration (#47913)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-15 23:59:41 +01:00
Franck Nijhof 9fd973d8e8
Move Verisure services to entity services (#47905) 2021-03-15 22:50:28 +01:00
Franck Nijhof 059e9e8307
Add config flow to Verisure (#47880)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-15 12:30:44 -07:00
Franck Nijhof 48808dc2ad
Upgrade vsure to 1.7.3 (#47946) 2021-03-15 14:43:32 +01:00
Franck Nijhof 60838cf7ed
Verisure: Remove JSONPath, unique IDs, small cleanups (#47870)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-14 10:38:09 +01:00
Franck Nijhof 1095905f8c
Add DataUpdateCoordinator to Verisure (#47574) 2021-03-11 19:41:01 +01:00
Franck Nijhof 10dae253e5
Complete typing on Verisure integration (#47482) 2021-03-05 15:37:56 -08:00
Quentame 198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Per Sandström 8efb5eea4d
Bump python-verisure to version 1.7.2 (#46177) 2021-02-08 11:00:23 +01:00
Franck Nijhof b1bb0d12c9
Upgrade vsure to 1.6.1 (#44657) 2020-12-30 23:06:30 +01:00
Franck Nijhof ee194b9411
Initial Verisure cleanups (#44639) 2020-12-30 09:55:18 +01:00
springstan a967f689c7
Remove unnecessary instances of dict.keys() (#42518) 2020-10-28 20:43:48 +01:00
Philip Allgaier dde6305549
Cleanup unused loggers (components N-Z + tests) (#41982) 2020-10-16 21:24:08 -05:00
springstan db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY (#39993)
* Use http status codes and add HTTP_BAD_GATEWAY constant

* Address review comments:
 - using constants in tado integration
 - using constant in media_player init.py

* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
springstan d2b1918e9c
Drop UNIT_ prefix for percentage constant (#39383) 2020-09-05 21:09:14 +02:00
J. Nick Koston 78e53e35c2
Prevent verisure lock from looping forever and sleeping in test (#37425) 2020-07-03 11:33:12 -07:00
Erik Montnemery 066e921a8b
Rename SwitchDevice to SwitchEntity (#34673) 2020-04-26 18:50:37 +02:00
Erik Montnemery 6f7f5b4034
Rename AlarmControlPanel to AlarmControlPanelEntity (#34590) 2020-04-25 18:05:28 +02:00
Erik Montnemery b30d117e7d
Rename LockDevice to LockEntity (#34594) 2020-04-25 18:02:41 +02:00
Erik Montnemery b022e08db9
Rename BinarySensorDevice to BinarySensorEntity (#34462)
* Rename BinarySensorDevice to BinarySensorEntity

* Tweak

* Move deprecation warning to __new__, add test

* Move deprecation warning back to __init__

* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +02:00