epenet
0a80ac19bc
Add type hints to integration tests (part 18) ( #88174 )
2023-02-17 18:45:48 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
On Freund
4bb1f4ec79
Add Armed binary sensor to local Risco ( #81997 )
2022-11-12 21:29:31 +01:00
On Freund
009d5aedd5
Extract `bypassed` attribute in Risco zones to a switch ( #81137 )
...
* Split bypassed to a switch
* Address code review comments
2022-11-01 00:29:00 +01:00
On Freund
f8de4c3931
Reauth flow for Risco cloud ( #81264 )
...
* Risco reauth flow
* Address code review comments
* Remove redundant log
2022-10-31 23:01:22 +01:00
On Freund
64eb316908
Add alarmed binary sensor to Risco integration ( #77315 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-10-25 13:43:09 +02:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
epenet
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
On Freund
1692808d5b
Increase sleep in Risco setup ( #77619 )
2022-09-01 14:02:09 -04:00
On Freund
3caa4963bc
Use partition name as device name in Risco alarm control panels ( #77526 )
2022-08-30 23:48:03 -04:00
On Freund
635eda584d
Support for local push in Risco integration ( #75874 )
...
* Local config flow
* Local entities
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Address code review comments
* More type hints
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* More annotations
* Even more annonations
* New entity naming
* Move fixtures to conftest
* Improve state tests for local
* Remove mutable default arguments
* Remove assertions for lack of state
* Add missing file
* Switch setup to fixtures
* Use error fixtures in test_config_flow
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-08-24 13:09:54 +02:00
On Freund
7cf2d1759d
Upgrade pyrisco to 0.5.0 ( #75648 )
...
* Upgrade to pyrisco 0.4.0
* Parametrized error tests in config flow
* Inline error parameters
* Switch to RiscoCloud
2022-07-23 23:44:48 +02:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
Paulus Schoutsen
8bbbd1947d
Raise if referenced entity does not support service ( #68394 )
2022-03-20 16:01:58 -07:00
Erik Montnemery
cf4033b1bc
Simplify time zone setting in tests ( #68330 )
...
* Simplify timezone setting in tests
* Fix typo
* Adjust caldav tests
* Adjust input_datetime tests
* Adjust time_date tests
* Adjust tod tests
* Adjust helper tests
* Adjust recorder tests
* Adjust risco tests
* Adjust aemet tests
* Adjust flux tests
* Adjust forecast_solar tests
* Revert unnecessary change in forecast_solar test
* Adjust climacell tests
* Adjust google tests
* Adjust sensor tests
* Adjust sonarr tests
* Adjust template tests
* Adjust zodiac tests
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-20 10:25:15 +01:00
Franck Nijhof
01efe1eba2
Add datetime object as valid StateType ( #52671 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-18 14:11:44 +01:00
Franck Nijhof
969c147b77
Clean up superfluous integration setup - part 4 ( #49295 )
...
* Clean up superfluous integration setup - part 4
* Adjust tests
2021-04-16 17:46:49 +02:00
Erik Montnemery
ba2978c693
Update tests p-s to use async_get() instead of async_get_registry() ( #47654 )
2021-03-09 14:28:32 +01:00
Ville Skyttä
2fb3be50ab
Make DeviceRegistry.async_get_device connections arg optional ( #44897 )
...
* Make async_get_device connections Optional, default None
* Remove unnecessary async_get_device connections arg usages
Some of these were using an incorrect collection type, which didn't
cause issues mostly just due to luck.
2021-01-07 13:49:45 +01:00
On Freund
e9f7e67f4c
Try to fix flaky Risco test ( #44788 )
2021-01-04 15:23:47 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
On Freund
5a7e4b4dae
Add zone_entity_id to Risco events ( #39678 )
...
* Add zone_entity_id to Risco events
* Add comment
* Fix dependency on order
2020-11-08 12:14:43 -06:00
Paulus Schoutsen
1c36bf5e19
Fix block till done in create entry config flow tests ( #42290 )
2020-10-24 16:20:56 +02:00
On Freund
ad6e8b2d62
Add event sensors for risco ( #39594 )
...
* Add Risco event sensors
* Fix lint
2020-09-04 14:11:07 -05:00
On Freund
b14af3e727
Add Custom mapping of Risco states ( #39218 )
...
* Custom mapping of Risco states
* More informative error log
* Add alternative Risco terms
* Black formatting
2020-08-27 21:23:01 -05:00
On Freund
24db31fa28
Add (un)bypass services to Risco ( #39292 )
...
* Add (un)bypass services to Risco
* Simplify service registration
2020-08-27 20:39:27 -05:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
On Freund
15c101e85d
Add pin code support to the Risco integration ( #39177 )
...
* Pin code support for Risco
* Remove unused parameter
* Fix imports
* Fix typo
* Apply suggestions from code review
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
2020-08-23 12:34:30 -05:00
On Freund
3198233b8f
Add binary sensors to Risco integration ( #39137 )
...
* Add binary sensors to Risco integration
* Minor cleanups
* RiscoEntity base class
* Platinum score
* Remove alarm parameter in _setup_risco
* Avoid zones and partitions sharing unique ids
2020-08-22 18:30:26 -05:00
On Freund
cdb6161d3d
Add risco options flow ( #39154 )
2020-08-22 12:15:03 -05:00
On Freund
e3ce699d75
Risco code review follow ups ( #39143 )
2020-08-22 15:54:12 +02:00
On Freund
1b8d9f7cc4
Add Risco integration ( #36930 )
...
* Risco integration
* Fix lint errors
* Raise ConfigEntryNotReady if can't connect
* Gracefully handle shutdown
* pass session to pyrisco
* minor change to init
* Fix retries
* Add exception log
* Remove retries
* Address code review comments
* Remove log
2020-08-21 23:49:09 -05:00