AlCalzone
c77a3674b0
Cleanup zwave_js fixture definitions ( #125896 )
...
* refactor: cleanup zwave_js fixture definitions
* fix: that one fixture that's not an object
* fix: some more forgotten ones
2024-09-16 10:22:04 +02:00
epenet
6d212ea24e
Add helper functions for repair tests ( #125886 )
...
* Expose repairs constants and function for other components
* Reorder
* Use helper methods
* Adjust core_files
* Improve
* Update test_migrate.py
2024-09-14 03:31:44 +02:00
Martin Hjelmare
c7e9096dfd
Bump zwave-js-server-python to 0.58.0 ( #125666 )
...
* Bump zwave-js-server-python to 0.58.0
* Update lock test
2024-09-13 13:22:37 +02:00
AlCalzone
3eaa005c7e
Use start/stop level change to open/close Z-Wave JS Window Covering CC covers ( #125827 )
...
* Z-Wave JS: Use start/stop level change to open/close Window Covering CC covers
* fix: import
* Update tests/components/zwave_js/test_cover.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* assert that up_value and down_value exist
* fix: forgot one
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-13 12:41:13 +02:00
epenet
bd2b72235e
Use root import in tests ( #125862 )
...
* Use root import in components
* One more
2024-09-13 06:42:32 +02:00
epenet
af6434a533
Add alias to DOMAIN import in tests [n-z] ( #125581 )
2024-09-09 15:14:05 +02:00
Raman Gupta
7788685340
Get zwave_js statistics data from model ( #120281 )
...
* Get zwave_js statistics data from model
* Add migration logic
* Update comment
* revert change to forward entry
2024-09-04 08:16:56 +02:00
Martin Hjelmare
7c15075231
Clean up Z-wave error log when raising in service handlers ( #125138 )
2024-09-03 15:49:11 +02:00
AlCalzone
c7cfd56b72
Support Z-Wave JS dimming lights using color intensity ( #122639 )
...
* Z-Wave JS: support non-dimmable color lights
* remove black_is_off light, support on/off/color
* fix: tests for on/off light
* fix: typo
* remove commented out old test code
* add test for off and on
* support colored lights without separate brightness control
* add test for color-only light
* refactor: extract color only light
* fix: preserve color when changing brightness
* extend tests
* refactor again
* refactor scale check
* refactor: remove impossible check
* review feedback
* review feedback
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-08-29 00:01:53 +02:00
epenet
0dc1eb8757
Cleanup unused import in zwave_js config flow ( #124716 )
2024-08-27 18:41:27 +02:00
Jan Bouwhuis
44b6bca89a
Refactor and cleanup zwave_js fixtures to share them ( #124485 )
...
Refactor and cleanup zwave_js fixtures to use
2024-08-23 15:42:57 +02:00
Alexander Schneider
9a3c7111f7
Add Z-Wave discovery schema for ZVIDAR roller shades ( #122332 )
...
Add discovery schema for ZVIDAR roller shades
2024-07-21 23:51:10 +02:00
G Johansson
ca4c617d4b
Add TURN_OFF/TURN_ON feature flags for fan ( #121447 )
2024-07-19 11:35:24 +02:00
epenet
a4980cf0fd
Improve type hints in zwave_js tests ( #121594 )
2024-07-09 20:13:47 +02:00
epenet
3adea1ada9
Use service_calls fixture in zwave_js tests ( #120994 )
2024-07-02 12:37:21 +02:00
Marc Mueller
f11b316dac
Import Generator from collections.abc (4) ( #120917 )
2024-07-01 11:54:42 +02:00
Joost Lekkerkerker
0fdf037ba0
Fix ruff type comparison E721 ( #120731 )
...
Fix E721
2024-06-28 11:56:49 +02:00
Raman Gupta
d9e26077c6
Add discovery rule for a Z-Wave Basic CC sensor ( #105134 )
2024-06-22 11:22:32 +02:00
AlCalzone
a1884ed821
Add discovery for Z-Wave Meter Reset ( #119968 )
2024-06-21 18:39:22 +02:00
AlCalzone
8ca0de1d20
Forward Z-Wave JS `node found` event to frontend ( #118866 )
...
* forward Z-Wave `node found` event to frontend
* add tests
2024-06-12 13:48:47 +02:00
epenet
94b9ae14c9
Use Registry fixture in zwave_js tests ( #119277 )
2024-06-10 15:00:05 +02:00
Raman Gupta
2c41451abc
Add new security keys to zwave_js config flow ( #115835 )
2024-06-08 11:31:05 -04:00
Marc Mueller
59e178df3b
Import Generator from typing_extensions (5) ( #118993 )
2024-06-06 17:33:27 +02:00
epenet
98d24dd276
Improve typing for `calls` fixture in tests (m-z) ( #118350 )
...
* Improve typing for `calls` fixture in tests (m-z)
* More
* More
2024-05-29 09:30:41 +02:00
Raman Gupta
89ae425ac2
Update zwave_js WS APIs for provisioning ( #117400 )
2024-05-29 02:47:09 -04:00
epenet
0b2aac8f4c
Use registry fixtures in tests (z) ( #118300 )
2024-05-28 18:25:49 +02:00
epenet
fa038bef92
Use area_registry fixture in component tests ( #118236 )
2024-05-27 12:40:08 +02:00
epenet
44f715bd02
Use issue_registry fixture in component tests ( #118041 )
2024-05-24 15:54:20 +02:00
Raman Gupta
61b906e29f
Bump zwave-js-server-python to 0.56.0 ( #117288 )
...
* Bump zwave-js-server-python to 0.56.0
* Fix deprecation warning
* Fix tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-12 22:19:47 -04:00
Raman Gupta
9655db3d55
Fix zwave_js discovery logic for node device class ( #117232 )
...
* Fix zwave_js discovery logic for node device class
* simplify check
2024-05-11 17:41:03 +02:00
blob810
1170ce1296
Add shutter tilt support for Shelly Wave Shutter QNSH-001P10 ( #116211 )
...
* Add shutter tilt support for Shelly Wave Shutter QNSH-001P10
* Add shelly_europe_ltd_qnsh_001p10_state.json fixture
* Update test_discovery.py
* Load shelly wave shutter 001p10 node fixture
* Update test_discovery.py
Check if entity of first node exists.
* Update test_discovery.py
Add additional comments
* Clean whitespace
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-02 11:02:35 +02:00
epenet
ad84ff18eb
Use remove_device helper in tests (1/2) ( #116240 )
...
* Use remove_device helper in tests
* Update test_tag.py
* Update test_tag.py
2024-04-30 12:52:33 +02:00
Erik Montnemery
db8597a742
Reduce scope of JSON/XML test fixtures ( #116197 )
2024-04-25 19:12:36 -05:00
Sid
895f73d8e4
Enable Ruff A001 ( #115654 )
2024-04-21 23:25:27 +02:00
J. Nick Koston
15ecd3ae31
Fix flaky zwave update entity delay test ( #115552 )
...
The test assumed the node updates would happen in a specific order
but they can switch order based on timing.
Adjust to check to make sure all the nodes are called but make it
order independent
2024-04-15 13:12:09 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
epenet
9204ccfa17
Use is in ConfigEntryState enum comparison in tests (N-Z) ( #114926 )
2024-04-05 17:37:00 +02:00
Joost Lekkerkerker
f3ba713289
Use FlowResultType enum in config flow tests N-Z ( #114682 )
...
Use FlowResultType enum in config flow tests
2024-04-03 09:53:20 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Jan Bouwhuis
81ab29a38e
Freeze time on zwave_js update test ( #113625 )
...
Freeze time on jwave_js update test
2024-03-17 16:02:45 +01:00
Sid
d5fd005db8
Add ruff rule PIE808 ( #113621 )
2024-03-17 09:56:26 +01:00
Sid
fe9cc6705c
Add ruff rule PIE804 ( #113620 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 12:45:18 -10:00
soonsouth
cfc2f17f35
Remove repetitive words in comments and docstrings ( #113529 )
...
chore: remove repetitive words
Signed-off-by: soonsouth <cuibuwei@163.com>
2024-03-15 18:11:12 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
J. Nick Koston
f3a9756f81
Avoid waiting for integration platforms in the parent integration ( #112467 )
2024-03-05 21:16:42 -10:00
J. Nick Koston
25510fc13c
Limit executor imports to a single thread ( #111898 )
...
* Limit executor imports to a single thread
* test for import executor
* test for import executor
* test for import executor
* fixes
* better fix
2024-02-29 21:02:13 -05:00
Raman Gupta
c1d61b9748
Improve climate turn_on/turn_off services for zwave_js ( #109187 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-12 19:06:23 -05:00
J. Nick Koston
3b409b07e3
Migrate zwave_js to use async_update_entry to alter config entries ( #110376 )
2024-02-12 19:42:02 +01:00
Marc Mueller
8b0c9d3d18
Use builtin TimeoutError [t-z] ( #109683 )
2024-02-05 12:20:36 +01:00