Jan-Philipp Benecke
0eafc8f2cd
Update k-l* tests to use entity & device registry fixtures ( #103929 )
2023-11-13 20:02:33 +01:00
J. Nick Koston
0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions ( #100567 )
2023-09-19 18:58:46 +02:00
Erik Montnemery
fd822bce56
Replace assert_lists_same with pytest_unordered in integrations h-m ( #94901 )
2023-06-20 20:16:25 +02:00
J. Nick Koston
f33e8c518f
Ensure lutron_caseta logbook platform does not raise when integration is not loaded ( #91978 )
2023-04-26 18:39:42 +02:00
epenet
e277bbb513
Use tmp_path in tests ( #91203 )
...
* Use tmp_path in tests
* Use joinpath
* Prefer / operator
* Cleanup
2023-04-12 08:19:01 +02:00
epenet
ab4a726e6c
Add tmpdir to known fixtures in pylint ( #89844 )
2023-03-17 10:22:02 +01:00
Paulus Schoutsen
d6a223f0e1
Await block till done inside patched config entry in tests ( #89515 )
2023-03-10 06:42:53 -10:00
epenet
6c430e03bc
Add type hints to integration tests (part 14) ( #88005 )
2023-02-15 10:31:43 +01:00
Franck Nijhof
330e1c6cbb
Clean up unnecessary registry mocks from integration tests ( #87763 )
2023-02-09 10:43:45 +01:00
epenet
f75ac17554
Add type hints to integration tests (j-m) ( #87704 )
2023-02-08 19:06:59 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
e50a531cd9
Code styling tweaks to the tests - Part 2 ( #86662 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00
Erik Montnemery
a6217ca9b9
Improve error message when an automation fails to validate ( #83977 )
2022-12-21 23:20:50 +01:00
J. Nick Koston
a3ec9529ec
Fix lutron caseta triggers when device fails to setup before startup finishes ( #82714 )
...
Refactor the trigger attach so its not dependant on the intergration
being already setup
fixes #82495 & fixes #81999
2022-11-29 20:46:01 -05:00
Kevin Addeman
3f3518e29d
Fix Lutron Caseta area names by ignoring root area during area name retrieval ( #80576 )
2022-10-23 17:28:15 -05:00
Kevin Addeman
071f335fdb
Add dynamic generation of device triggers from keypad buttons ( #80797 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-23 14:57:04 -05:00
Kevin Addeman
01c66aa7c1
Add support for area field from pylutron_caseta ( #80221 )
2022-10-12 14:26:54 -10:00
Kevin Addeman
82322e3804
Add button entities for Lutron Caseta/RA3/HWQSX ( #79963 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-12 10:29:28 -10:00
Kevin Addeman
45a30546ec
Add support for Homeowner and Phantom Keypads ( #79958 )
2022-10-09 12:17:06 -10:00
Kevin Addeman
b7e84543c1
Add support for parent_device field so entities are nested within Keypad Devices ( #79513 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-10-09 08:39:12 -10:00
Kevin Addeman
b51fd7f688
Fix lutron_caseta get_triggers() raising error for non-button devices (caseta and ra3/hwqsx) ( #78397 )
2022-09-17 13:26:04 -05:00
Kevin Addeman
8b1713a691
Add support for non-serialized devices (light, switch, cover, fan in RA3 Zones) ( #75323 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-20 10:56:19 -10:00
Kevin Addeman
09aaf45f0a
Fix lutron caseta Sunnata Keypad support ( #75324 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-18 16:23:20 -10:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
danaues
72917f1d2c
Lutron caseta ra3keypads ( #74217 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-01 10:39:00 -05:00
J. Nick Koston
16dd70ba99
Switch to a dataclass for lutron_caseta entry data ( #73500 )
2022-06-14 20:32:38 -10:00
J. Nick Koston
9cd81db5b3
Add device_id and logbook descriptions to lutron_caseta ( #71713 )
2022-05-11 20:45:16 -07:00
Erik Montnemery
5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary ( #70335 )
...
* Mark device triggers from hidden or auxiliary entities as secondary
* Update tests
2022-04-21 08:01:32 +02:00
J. Nick Koston
d5a2381f07
Add diagnostics support to lutron_caseta ( #67079 )
2022-02-22 16:31:41 -08:00
J. Nick Koston
64277058b5
Ensure lutron caseta imports set the unique id ( #66754 )
2022-02-18 00:03:20 +01:00
Joshua Roys
9134e5c844
Get discovered zeroconf IPv6 addresses ( #65462 )
2022-02-11 16:46:17 -06:00
Ville Skyttä
c5e6489475
Use DeviceAutomationType in tests/components/[h-l]* ( #62441 )
2021-12-20 22:18:53 +01:00
J. Nick Koston
f5d7adc018
Fix lutron caseta discovery with newer firmwares ( #61029 )
2021-12-05 17:09:18 +01:00
epenet
31b033ac25
Update ZeroconfServiceInfo in tests (g-m) ( #60217 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 09:42:38 -06:00
epenet
9aa41be8b7
Use ZeroconfServiceInfo in lutron_caseta ( #59988 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-19 09:36:18 -06:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* 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
J. Nick Koston
34c84a6bbb
Reduce boilerplate to abort for matching config entries ( #50186 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-11 22:00:12 +02:00
Ville Skyttä
153d6e891e
Use config_entries.SOURCE_* constants ( #49631 )
2021-04-25 11:27:40 +02:00
Ruslan Sayfutdinov
82c94826fb
Enable strict typing for zeroconf ( #48450 )
...
* Enable strict typing for zeroconf
* Fix lutron_caseta
* Fix pylint warning
* Fix tests
* Fix xiaomi_aqara test
* Add __init__.py in homeassistant.generated module
* Restore add_job with type: ignore
2021-03-30 06:48:04 -10:00
J. Nick Koston
73d7d80731
Add timeout to lutron_caseta to prevent it blocking startup ( #45769 )
2021-01-31 21:43:00 +01:00
J. Nick Koston
25f411ef6e
Add support for Pico and Shade remotes to Lutron Caseta ( #45315 )
2021-01-26 16:32:08 -06:00
J. Nick Koston
431b143eec
Add a one touch pairing config flow for lutron caseta ( #45136 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2021-01-22 17:48:06 -06:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Martin Hjelmare
cc369cd461
Fix lutron_caseta setup options ( #35974 )
2020-05-22 23:01:48 +02:00
Chris Aljoudi
d072091926
Add lutron_caseta config entries ( #34133 )
...
* lutron_caseta: allow for multiple bridges; use config entries
Refactor to use config entries/flows, but only implemented import
(async_setup) flow handler for now.
* lutron_caseta: config_flow.py pylint hint
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* lutron_caseta: tweaks to __init__.py per PR feedback
* lutron_caseta: add config_flow tests
* lutron_caseta: verify connectivity to bridge
check connectivity before creating config entry; cleanup translation/strings
* lutron_caseta: allow for multiple bridges; use config entries
Refactor to use config entries/flows, but only implemented import
(async_setup) flow handler for now.
* lutron_caseta: config_flow.py pylint hint
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* lutron_caseta: tweaks to __init__.py per PR feedback
* lutron_caseta: add config_flow tests
* lutron_caseta: verify connectivity to bridge
check connectivity before creating config entry; cleanup translation/strings
* lutron_caseta: add error logging when exception is encountered checking connectivity
* lutron_caseta: tests mock bridge creation, not ha-side connectivity check
* lutron_caseta: catch more specific Error types while checking bridge conn.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-11 11:05:13 +02:00