Martin Hjelmare
c007286fd6
Improve Z-Wave config flow test typing ( #145438 )
2025-05-22 11:11:38 +02:00
Martin Hjelmare
cb717c0ec6
Improve Z-Wave config flow test fixtures ( #145378 )
2025-05-21 17:06:36 +02:00
Petar Petrov
efa7fe0dc9
Recommended installation option for Z-Wave ( #145327 )
...
Recommended installation option for ZWave
2025-05-21 13:30:59 +02:00
Petar Petrov
ba44986524
Remove the old ZWave controller from the list of migration targets ( #145281 )
...
* Remove the old ZWave controller from the list of migration targets
* ensure addon device path is serial/by_id
* Use executor
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-05-20 22:11:03 +02:00
Petar Petrov
b84e93f462
Sort usb ports in Z-Wave flow so unknown devices are last ( #145211 )
...
* Sort usb ports in Z-Wave flow so unknown devices are last
* tweak
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-05-20 08:25:44 +03:00
Martin Hjelmare
85448ea903
Fix Z-Wave config entry unique id after NVM restore ( #145221 )
...
* Fix Z-Wave config entry unique id after NVM restore
* Remove stale comment
2025-05-19 17:05:48 +03:00
Martin Hjelmare
08104eec56
Fix Z-Wave unique id update during controller migration ( #145185 )
2025-05-19 13:43:06 +03:00
Martin Hjelmare
e89333811e
Improve Z-Wave config flow tests ( #144871 )
...
* Improve Z-Wave config flow tests
* Fix test
* Use identify check for result type
2025-05-14 13:08:26 +02:00
Martin Hjelmare
55b9dee448
Fix Z-Wave unique id after controller reset ( #144813 )
2025-05-13 14:12:00 +03:00
Martin Hjelmare
3eed552c56
Repair Z-Wave unknown controller ( #144738 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2025-05-12 21:18:55 +02:00
Petar Petrov
e0fb612e82
Show warning message for Z-Wave devices in interview stage ( #144483 )
...
* Show warning message for devices in interview stage
* remove debug code
2025-05-08 16:21:43 -04:00
Martin Hjelmare
014c5dc764
Set Z-Wave platforms fixture in config flow tests ( #144470 )
2025-05-08 17:46:41 +03:00
Martin Hjelmare
a1599d5f7d
Set Z-Wave platforms fixture in helpers tests ( #144472 )
2025-05-08 17:46:00 +03:00
Martin Hjelmare
2fd678bb59
Set Z-Wave platforms fixture in light tests ( #144473 )
2025-05-08 17:45:26 +03:00
Martin Hjelmare
bbc3862fec
Fix Z-Wave reset accumulated values button entity category ( #144459 )
2025-05-08 11:59:20 +02:00
Martin Hjelmare
dc0998d95d
Fix Z-Wave restore nvm command to wait for driver ready ( #144413 )
2025-05-07 19:50:45 +03:00
Martin Hjelmare
0b1875de14
Fix Z-Wave controller hard reset ( #144389 )
2025-05-07 13:32:27 +03:00
Martin Hjelmare
c3ce82d874
Fix Z-Wave migration flow to unload config entry before unplugging controller ( #144343 )
...
* Fix Z-Wave migration unload config entry before unplugging controller
* Remove typo
2025-05-06 17:57:11 +03:00
Martin Hjelmare
40e3038775
Fix Z-Wave to reload config entry after migration nvm restore ( #144338 )
2025-05-06 15:26:45 +02:00
Martin Hjelmare
ec4f4a4a1f
Fix Z-Wave USB discovery to use serial by id path ( #144314 )
2025-05-06 11:33:58 +03:00
Martin Hjelmare
1879b8c27f
Fix Z-Wave config flow forms ( #144279 )
2025-05-05 15:02:20 -04:00
Martin Hjelmare
80e4f19172
Fix Z-Wave USB flow test warning ( #143956 )
2025-04-30 16:14:44 +02:00
Petar Petrov
a7af0eaccd
Add retry restore step to ZWave-JS migration ( #143934 )
...
* Add retry restore step to ZWave-JS migration
* improve test
2025-04-30 11:54:50 +02:00
Martin Hjelmare
04bea9c732
Handle Z-Wave migration low SDK version ( #143936 )
2025-04-30 11:43:05 +03:00
Martin Hjelmare
eabf88e3c9
Fix Z-Wave USB discovery already configured ( #143907 )
...
Fix zwave usb discovery already configured
2025-04-30 07:40:18 +02:00
Martin Hjelmare
e14a356c24
Allow Z-Wave controller migration on USB discovery ( #143677 )
...
Allow migration on USB discovery
2025-04-26 07:52:32 +02:00
Martin Hjelmare
0aabb11220
Improve Z-Wave migration flow ( #143673 )
2025-04-25 18:33:19 +02:00
Martin Hjelmare
7c584ece23
Make proper Z-Wave reconfigure flow ( #143549 )
...
* Make proper Z-Wave reconfigure flow
* Improve backup_failed string
2025-04-25 14:19:03 +03:00
Marc Mueller
5843e63878
Add contextmanager to reset logger after set_level call in tests ( #143295 )
2025-04-20 02:13:01 +02:00
Petar Petrov
0aaa4fa79b
Create empty Z-Wave JS device on smart start provisioning ( #140872 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-04-17 13:18:48 +02:00
Petar Petrov
cadbb623c7
New ZWave-JS migration flow ( #142717 )
...
* ZwaveJS radio migration flow
* Partial migration flow
* basic migration flow
* report exact progress to frontend
* Display backup file path
* string tweak
* update tests
* improve exception handling
* radio -> controller
* test tweak
* test tweak
* clean up and test error handling
* more tests
* test progress
* PR comments
* fix tests
* test restore progress
* more coverage
* coverage
* coverage
* make mypy happy
* PR comments
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* ruff
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-04-17 10:14:47 +02:00
Martin Hjelmare
cd45c5d886
Avoid Z-Wave config entry unload in test teardown ( #142732 )
2025-04-11 16:37:47 +03:00
Martin Hjelmare
af8ecdd48d
Improve Z-Wave reconfigure flow ( #142475 )
2025-04-11 12:15:11 +02:00
Martin Hjelmare
38bf06e179
Improve parameters in Z-Wave init tests ( #142532 )
2025-04-08 15:18:22 +01:00
Martin Hjelmare
dacc4c230d
Add more Z-Wave USB discovery ( #142460 )
2025-04-08 09:30:43 +03:00
Paulus Schoutsen
cbcd1929dd
Move Z-Wave JS smoke, CO, CO2, Heat, Water problem entities to diagnostic ( #129922 )
...
* Move Z-Wave JS smoke, CO, CO2, Heat, Water problem entities to diagnostic
* Update link + states
* Specify problem class explicitly instead of catch-all
* Heat alarm test is not a problem
* Also split out smoke alarm
* Document mapping rule
* add tests
* format
* update test
* review comments
* remove idle state from doc as it is ignored
---------
Co-authored-by: Petar Petrov <MindFreeze@users.noreply.github.com>
2025-04-01 11:37:59 +02:00
Martin Hjelmare
2549e2cc0f
Patch Z-Wave platforms in humidifier tests ( #141732 )
2025-03-29 17:59:13 +03:00
Martin Hjelmare
52f7bdeb5d
Patch Z-Wave platforms in fan tests ( #141591 )
2025-03-27 21:40:39 +02:00
Martin Hjelmare
86ff540db9
Patch Z-Wave platforms in custom event tests ( #141268 )
...
Patch Z-Wave platforms in custom events tests
2025-03-24 12:19:29 +01:00
Martin Hjelmare
fdaba003ce
Patch Z-Wave platforms in event tests ( #141209 )
2025-03-23 16:22:18 +02:00
Martin Hjelmare
588d6ad4cf
Patch Z-Wave platforms in cover tests ( #141205 )
2025-03-23 15:35:29 +02:00
Martin Hjelmare
34504f45a5
Patch Z-Wave platforms in climate tests ( #141204 )
2025-03-23 15:15:09 +02:00
Martin Hjelmare
a835c85f59
Patch Z-Wave platforms in button tests ( #141001 )
2025-03-20 16:37:02 +02:00
Martin Hjelmare
5f84fc3ee5
Patch Z-Wave platforms in binary sensor tests ( #140992 )
2025-03-20 16:06:21 +02:00
Martin Hjelmare
df0125abdd
Patch Z-Wave platforms in api tests ( #140988 )
2025-03-20 12:54:40 +01:00
Martin Hjelmare
d8a4a97ee0
Allow patching Z-Wave platforms specifically in tests ( #140987 )
2025-03-20 12:19:14 +01:00
Petar Petrov
3fb0290fba
Remove unused params in "zwave_js/provision_smart_start_node" API ( #140982 )
2025-03-20 10:19:26 +01:00
Martin Hjelmare
2674b02bfa
Refactor zwave_js config entry setup ( #107635 )
...
* Refactor zwave_js config entry setup
* Fix blocking update test
* Address timeout comment
* Remove platform tasks
* Replace deprecated async_add_job
* Use ConfigEntry.async_on_state_change
* Use modern config entry methods
* Clarify exception message
* Test listen error after config entry setup
* Test listen failure during setup after forward entry
* Test not reloading when hass is stopping
* Test client disconnect is called on entry unload
* Fix and test client not connected during driver setup
* Fix and test driver ready timeout
* Stringify listen task exception when logging
* Use identity compare
* Guard for closed connection
* Consolidate listen task checking and tests
2025-03-20 10:16:48 +01:00
Petar Petrov
516aaa741d
Add Z-Wave JS lookup_device API ( #140802 )
...
* ZwaveJS lookup_device API
* add FailedCommand test
* test tweak
2025-03-18 12:05:10 +01:00
Petar Petrov
de0efd61d1
Add Z-Wave JS NVM backup and restore API ( #139233 )
...
* ZWaveJS: NVM backup and restore API
* remove unused const
* test fix
* switch to WS commands
* Backup & restore MVP
* Use base64 data directly
* update tests
* fix mistake
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* PR comments
* update tests
* more tests
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-03-14 15:17:23 +01:00