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
Raman Gupta
8bae614d4e
Bump zwave-js-server-python to 0.55.4 ( #116278 )
2024-04-27 09:24:23 +02:00
Sid
895f73d8e4
Enable Ruff A001 ( #115654 )
2024-04-21 23:25:27 +02:00
Sid
3799d20d43
Enable Ruff B905 ( #114197 )
2024-04-14 00:14:26 -05:00
J. Nick Koston
ee535ee611
Ensure test async_create_task eager start behavior matches production ( #115517 )
2024-04-13 15:58:52 -05:00
Sid
223fefbbfa
Enable Ruff RUF018 ( #115485 )
2024-04-13 09:56:33 +02:00
Marc Mueller
81d682874f
Update typing extensions to 4.11.0 ( #114985 )
2024-04-06 14:23:32 +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
Marc Mueller
d0ecad78ac
Revert "Update typing-extensions to 4.11.0rc1 ( #114116 )" ( #114216 )
2024-03-25 20:44:57 -10: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
Marc Mueller
81c34ac952
Fix spelling [docstrings + comments] ( #114168 )
2024-03-25 11:33:00 +01:00
Marc Mueller
188dbfbd2a
Update typing-extensions to 4.11.0rc1 ( #114116 )
2024-03-25 11:27:47 +01:00
Sid
d5fd005db8
Add ruff rule PIE808 ( #113621 )
2024-03-17 09:56:26 +01:00
Joost Lekkerkerker
4547131bbc
Improve lists in integrations [X-Z] ( #113253 )
2024-03-13 20:32:12 +01:00
Joost Lekkerkerker
a8bde2df3c
Remove entity description mixin in Z-Wave.js ( #112979 )
2024-03-11 11:49:44 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] ( #112706 )
2024-03-08 10:35:45 -05:00
Marc Mueller
8ca127df2a
Use KEY_HASS [h-z] ( #112610 )
2024-03-07 18:03:44 +01:00
Erik Montnemery
82efb3d35b
Make FlowResult a generic type ( #111952 )
2024-03-07 12:41:14 +01:00
Erik Montnemery
3d3e9900c3
Add TypeVar default for FlowResult ( #112345 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-03-05 22:52:11 +01:00
Erik Montnemery
a0e558c457
Add generic classes BaseFlowHandler and BaseFlowManager ( #111814 )
...
* Add generic classes BaseFlowHandler and BaseFlowManager
* Migrate zwave_js
* Update tests
* Update tests
* Address review comments
2024-02-29 16:52:39 +01:00
J. Nick Koston
4414b468f3
Import zwave_js in the executor to avoid blocking the event loop ( #111622 )
...
`2024-02-27 10:55:54.872 DEBUG (MainThread) [homeassistant.loader] Component zwave_js import took 0.780 seconds (loaded_executor=False)`
2024-02-27 13:14:27 +01:00
Joost Lekkerkerker
730d805876
Enable SIM114 ruff rule ( #111125 )
2024-02-23 13:21:59 +01:00
J. Nick Koston
ae49b3a274
Add async_schedule_reload helper to the ConfigEntries manager ( #110912 )
...
* Add async_schedule_reload helper to the ConfigEntries manager
We have cases where the the setup retry kicks in right before
the reload happens causing the reload to fail with
OperationNotAllowed. The async_schedule_reload will
cancel the setup retry before the async_reload task
is created to avoid this problem.
I updated a few integrations that were most likely
to have this problem. Future PRs will do a more
extensive audit
* coverage
* revert for now since this needs more refactoring in a followup
* cover
* cleanup and fixes
2024-02-20 02:14:45 +01:00
Raman Gupta
92c3c401b9
Remove unused instance variable in Z-wave ( #110442 )
...
* Remove unused variable and fix typing in zwave_js
* remove redundant type
2024-02-13 03:55:49 +01: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
Marc Mueller
5de76c0be0
Include exception when reraising inside except ( #109706 )
2024-02-06 12:17:39 +01:00
Marc Mueller
8b0c9d3d18
Use builtin TimeoutError [t-z] ( #109683 )
2024-02-05 12:20:36 +01:00
Raman Gupta
c2525d53dd
Add translations for zwave_js entities and services ( #109188 )
2024-02-01 21:07:47 +01:00
Marc Mueller
d2dee9e327
Update ruff to 0.1.15 ( #109303 )
2024-02-01 13:29:01 +01:00
Raman Gupta
1af25bc010
Remove deprecation warnings for zwave_js climate TURN_ON/TURN_OFF features ( #109242 )
2024-02-01 11:21:40 +01:00
Raman Gupta
2b525ed2e9
Make zwave_js last seen sensor enabled by default ( #109191 )
...
* Make zwave_js last seen sensor enabled by default
* Add test
* Fix test
* improve tests
2024-02-01 02:55:48 +01:00
Raman Gupta
9ed50d8b0c
Add last seen sensor for zwave_js devices ( #107345 )
2024-01-31 01:17:43 -05:00
Raman Gupta
b8c9da4705
Add icon and state translations for zwave_js sensors ( #109186 )
2024-01-30 23:38:27 -05:00
Raman Gupta
821d273e4d
Add support for ignoring zwave_js device config file changes ( #108990 )
...
* Add support for ignoring zwave_js device config file changes
* mistake
* fixes
* Small tweaks and add/update tests
2024-01-30 10:16:08 +01:00
Raman Gupta
18d395821d
Don't remove zwave_js devices automatically ( #98145 )
2024-01-29 21:36:41 -05:00
kpine
be8af7bea3
Fix zwave_js set_config_parameter WS api regression ( #109042 )
2024-01-29 18:04:05 +01:00
Erik Montnemery
da7d2ef228
Fix light color mode in zwave_js ( #108783 )
2024-01-25 09:46:22 +01:00
Jan Bouwhuis
c47fb5d161
Remove deprecated redundant dry and fan modes from zwave_js
climates ( #108124 )
...
Remove deprecated redundant dry and fan modes from zwave_js climates
2024-01-17 15:55:46 +01:00
J. Nick Koston
4b7a313ece
Use identity checks for CoreState ( #107846 )
...
Some of the checks used ==, and some used is. Switch
everything to is as its faster
2024-01-12 10:21:26 +01:00
Erik Montnemery
2a0bd6654b
Improve calls to async_show_progress in zwave_js ( #107794 )
2024-01-11 13:07:43 +01:00
Raman Gupta
85cdbb5ade
Bump zwave-js-server-python to 0.55.3 ( #107225 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-05 12:38:00 +01:00
Martin Hjelmare
00ff93a69e
Set zwave_js voltage sensor suggested precision ( #107116 )
2024-01-05 01:03:28 -05:00
J. Nick Koston
0695bf8988
Move group helpers into their own module ( #106924 )
...
This gets rid of the legacy need to use bind_hass, and
the expand function no longer looses typing.
2024-01-04 17:34:56 +01:00
Martin Hjelmare
80a616d237
Remove zwave_js numeric sensor rounding ( #107100 )
2024-01-04 13:49:15 +01:00
Martin Hjelmare
c462d5b8ca
Bump zwave-js-server-python to 0.55.2 ( #106496 )
2023-12-27 21:05:26 +01:00
Raman Gupta
18ace16744
Bump zwave-js-server-python to 0.55.1 ( #105502 )
2023-12-25 23:29:05 -05:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Erik Montnemery
dd338799d4
Make it possible to inherit EntityDescription in frozen and mutable dataclasses ( #105211 )
2023-12-11 20:00:55 +01:00