Commit Graph

548 Commits (3a998f1d4608aacb25d12d00d02766dd1157d5f1)

Author SHA1 Message Date
Raman Gupta 3a998f1d46
Update node statistics for zwave_js device diagnostics dump (#72509) 2022-05-26 03:03:43 -04:00
Raman Gupta fe3fa0ae17
Bump zwave-js-server-python to 0.37.0 (#72395) 2022-05-25 10:46:55 -07:00
Raman Gupta c8c4bf6c37
Bypass dynamic validation for zwave_js custom triggers (#72471) 2022-05-25 19:20:40 +02:00
Raman Gupta 9b40de18cd
Allow zwave_js/network_status WS API to accept device or entry ID (#72205)
* Allow zwave_js/network_status WS API to accept device or entry ID

* Fix based on upstream feedback

* Fixt ests

* Fixes
2022-05-25 12:49:04 -04:00
Martin Hjelmare 4723119fad
Clean zwave_js remaining typing issues (#72488) 2022-05-25 12:40:38 -04:00
Martin Hjelmare 10f0509ca3
Clean zwave_js services typing (#72485)
Fix services
2022-05-25 12:39:42 -04:00
Martin Hjelmare f9f87c607e
Clean zwave_js api typing (#72484)
* Clean zwave_js api typing

* Add temporary type ignore
2022-05-25 12:35:54 -04:00
Raman Gupta eb7a521232
Fix more typing for zwave_js (#72472)
* Fix more typing for zwave_js

* Revert one change

* reduce lines

* Fix tests
2022-05-25 07:50:25 +02:00
Raman Gupta 352b7e86af
Move zwave_js node metadata comments to separate WS API cmd (#71513)
* Move zwave_js node metadata comments to separate WS API cmd

* fix pr
2022-05-24 22:11:43 -04:00
Martin Hjelmare 6cac1dadeb
Clean zwave_js platform typing (#72439)
* Fix binary sensor

* Fix climate

* Fix cover

* Fix fan

* Fix light

* Fix lock

* Fix number

* Fix select

* Fix sensor

* Add back type ignore until library bump
2022-05-24 19:23:34 -04:00
Martin Hjelmare f7475a5bdb
Clean zwave_js entity driver access (#72427) 2022-05-24 17:52:07 -04:00
Martin Hjelmare c4ca106379
Clean zwave_js api driver access (#72419) 2022-05-24 17:16:58 -04:00
Martin Hjelmare a5e100176b
Refactor zwave_js setup entry (#72414)
* Refactor zwave_js setup entry

* Improve message
2022-05-24 14:46:06 -04:00
epenet 5bb39a1db5
Adjust device_automation type hints in zwave_js (#72143) 2022-05-23 14:37:44 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Raman Gupta 5f7594268a
Switch zwave_js firmware upload view to use device ID (#72219)
* Switch zwave_js firmware upload view to use device ID

* Store device registry in view
2022-05-20 01:50:13 -04:00
GitHub Action 9a3ecacf6b [ci skip] Translation update 2022-05-20 00:21:27 +00:00
Raman Gupta 68b278d170
Remove legacy zwave migration logic (#72206)
* Remove legacy zwave migration logic

* Update test_migrate.py
2022-05-19 18:29:28 -04:00
Raman Gupta 487819bbe5
Use device ID as input for zwave_js WS device cmds (#71667)
* Use device ID as input for zwave_js WS device cmds

* Additionally missed commands, update network_status command to include node status data

* revert change to removed function

* Revert register device change
2022-05-19 13:31:24 -04:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action 2d1a612976 [ci skip] Translation update 2022-05-17 00:23:03 +00:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
Raman Gupta 533257021c
Parallelize zwave_js service calls (#71662)
* Parallelize zwave_js service calls to speed them up and handle exceptions properly

* Fix bug

* Add tests

* Fix comments

* Additional comment fixes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-12 03:07:58 -04:00
Raman Gupta 0d69adb404
Send initial message for certain zwave_js ws subscriptions (#71723)
* Send initial message for certain zwave_js ws subscriptions

* Be consistent

* fix tests and bugs
2022-05-12 03:07:11 -04:00
Raman Gupta ca52aa47aa
Enable sentry reporting for zwave_js (#71719)
* Enable sentry reporting for zwave_js

* Fix test
2022-05-12 03:05:35 -04:00
Raman Gupta 684fe242d9
Set PARALLEL_UPDATES to 0 for all zwave_js platforms (#71626) 2022-05-11 20:51:10 -07:00
Raman Gupta b9f7d1f54c
Fix zwave_js device automation bug (#71715) 2022-05-11 22:55:12 -04:00
GitHub Action 3de7ffde54 [ci skip] Translation update 2022-05-10 00:23:19 +00:00
Marc Mueller 6eef3c16f2
Update pylint to 2.13.8 (#71280) 2022-05-04 12:14:24 +02:00
Erik Montnemery 4962605613
Fix enumeration of zwave-js device triggers (#71225)
* Fix enumeration of zwave-js device triggers

* Address review comments
2022-05-03 01:46:39 +02:00
Raman Gupta 7b682e2990
Bump zwave-js-server-python to 0.36.1 (#71096) 2022-04-30 02:59:39 -04:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Reuben Bijl 3901b5c8e8
Add zwave_js MultilevelSwitch Notification (#70470)
Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2022-04-27 09:12:23 +02:00
Raman Gupta 24b090a038
Create zwave_js.invoke_cc_api service (#70466) 2022-04-26 11:30:49 -04:00
epenet fe0120b65a
Use light enums in zwave_js (#70791) 2022-04-26 15:31:25 +03:00
epenet 24b4690e5d
Use climate enums in zwave_js (#70757) 2022-04-26 12:23:48 +02:00
Marc Mueller 9b9b553521
Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
Martin Hjelmare 54fed9ee7b
Fix zwave_js diagnostics zwave value endpoint lookup (#70646) 2022-04-25 11:01:07 +02:00
epenet 7d2e75e6ab
Use ColorMode enum in zwave_js (#70559) 2022-04-23 10:26:09 -10:00
Raman Gupta 37ea4660f9
Bump zwave-js-server-python to 0.36.0 (#70464)
* Bump zwave-js-server-python to 0.36.0

* update missed property name change
2022-04-23 02:20:50 -04:00
Raman Gupta 220cb57add
Bump zwave-js-server-python to 0.35.3 (#70357) 2022-04-21 14:14:39 +02:00
Francois Chagnon c70c9ac341
Add None guard for zwave_js humidifier entity (#69667)
* Add None guard for humidifier entity is_on

* Add guards in more places

* Update homeassistant/components/zwave_js/humidifier.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-08 17:27:06 +02:00
epenet af57f9c6a4
Use SirenEntityFeature enum in components (#69645) 2022-04-08 09:13:12 +02:00
epenet fbea950eb0
Use EntityFeature enum in components (z**) (#69471)
* Use EntityFeature enum in zha

* Use EntityFeature enum in zhong_hong

* Use EntityFeature enum in ziggo_mediabox_xl

* Use EntityFeature enum in zwave_js

* Use EntityFeature enum in zwave_me
2022-04-07 08:21:31 +02:00
Raman Gupta bc194cd209
Add zeroconf discovery to zwave_js (#69382) 2022-04-06 18:46:13 +02:00
Raman Gupta 79dc551f5a
Fix regression in zwave_js (#69312)
* Handle unique ID update during discovery step

* Use callback to convert unique IDs to strings

* Adjust test to make sure logic works

* Fix other tests

* Move comment

* Move migration to async_setup

* Remove async_migrate_entry since we take care of it during setup

* Remove unused test
2022-04-06 00:40:33 -04:00
Raman Gupta e06856f965
Make zwave_js config entry unique ID a string (#69163)
* Make zwave_js config entry unique ID a string

* Add test

* Fix tests
2022-04-02 23:52:07 -04:00
Raman Gupta 94a8d75142
Fix zwave_js device action logic (#69049)
* Fix zwave_js device action logic

* Add test for this behavior
2022-04-01 07:44:52 +02:00
Raman Gupta 4e2b6db397
Add comments to zwave_js node metadata WS API (#67210)
* Add comments to zwave_js node metadata WS API

* Add test dat
2022-03-31 10:31:17 -04:00