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
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
G Johansson
ddb56fe20d
Modify climate turn_on/off backwards compatibility check ( #109195 )
...
* Modify climate turn_on/off backwards compatibility check
* Fix logger message
* Comments
* Fix demo
* devolo
* ecobee
* Some more
* Fix missing feature flag
* some more
* and some more
* Remove demo change
* Add back demo change
* Fix demo
* Update comments
2024-01-31 16:29:36 +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
G Johansson
bc720b48b4
Add TURN_OFF and TURN_ON to ClimateEntityFeature ( #101673 )
...
* Add ClimateEntityFeature.TURN_OFF
* Fixes
* Fixes
* wording
* Change to services
* Fixing
* Fixing
* Last bits
* Review comments
* Add hvac_modes checks
* Fixes
* Add tests
* Review comments
* Update snapshots
* balboa
* coolmaster
* ecobee
* mqtt
* nest
* plugwise
* smarttub
* whirlpool
* zwave_js
* fix test climate
* test climate
* zwave
* nexia
* nuheat
* venstar
* tado
* smartthings
* self.hvac_modes not None
* more tests
* homekit_controller
* homekit controller snapshot
2024-01-30 15:07:47 +01: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
J. Nick Koston
c399cab427
Small speed up to checking core state ( #107845 )
2024-01-18 08:41:32 -10: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
Raman Gupta
d19037a36b
Clean up zwave_js test_removed_device test ( #107346 )
2024-01-07 12:26:08 +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
Martin Hjelmare
80a616d237
Remove zwave_js numeric sensor rounding ( #107100 )
2024-01-04 13:49:15 +01:00
G Johansson
83f4d3af5c
Implement mode validation in Climate entity component ( #105745 )
...
* Implement mode validation in Climate entity component
* Fix some tests
* more tests
* Fix translations
* fix deconz tests
* Fix switcher_kis tests
* not None
* Fix homematicip_cloud test
* Always validate
* Fix shelly
* reverse logic in validation
* modes_str
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-27 14:51:39 +01:00
Raman Gupta
4e1677e3f0
Remove zwave_js device on device reset ( #104291 )
...
* Reload zwave_js config entry on device reset
* remove device
* Just remove the device and don't reload
* revert change to notification message
* Assert device is no longer there
2023-12-09 23:33:31 +01:00
Erik Montnemery
5b55c7da5f
Remove logic converting empty or falsy YAML to empty dict ( #103912 )
...
* Correct logic converting empty YAML to empty dict
* Modify according to github comments
* Add load_yaml_dict helper
* Update check_config script
* Update tests
2023-12-05 18:08:11 +01:00
Jan Bouwhuis
953a212dd6
Use ServiceValidationError for invalid fan preset_mode and move check to fan entity component ( #104560 )
...
* Use ServiceValidationError for fan preset_mode
* Use _valid_preset_mode_or_raise to raise
* Move preset_mode validation to entity component
* Fix bond fan and comments
* Fixes baf, fjaraskupan and template
* More integration adjustments
* Add custom components mock and test code
* Make NotValidPresetModeError subclass
* Update homeassistant/components/fan/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Keep bond has_action validation
* Move demo test asserts outside context block
* Follow up comment
* Update homeassistant/components/fan/strings.json
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Fix demo tests
* Remove pylint disable
* Remove unreachable code
* Update homeassistant/components/fan/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Use NotValidPresetModeError, Final methods
* Address comments
* Correct docst
* Follow up comments
* Update homeassistant/components/fan/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-29 13:56:51 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format ( #102893 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Raman Gupta
a074c06f92
Add alert to zwave_js device info page for custom device config ( #104115 )
2023-11-26 10:08:20 +01:00
Geir Råness
d4450c6c55
Add Z-wave climate sensor override for Heatit Z-TRM6 ( #103896 )
...
* add some basic overrides for z-trm6
* switched id and type
* add fixtures some lints
* duplicate tests of z-trm3
* add broken test for trm6
* fix tests, remove name from fixtures, fix comment
* lints
* forgot lints
* add better description on pwer mode
* Update comment v2
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix space from github web merge
* lint on fixture
* fix permissions on fixture
---------
Co-authored-by: geir råness <11741725+geirra@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-24 11:01:15 +01:00
Raman Gupta
e9920ff73d
Add select entity for zwave_js Door Lock CC ( #104292 )
...
* Add select entity for zwave_js Door Lock CC
* fix test
2023-11-23 12:51:29 +01:00
Raman Gupta
c132900b92
Add zwave_js.set_lock_configuration service ( #103595 )
...
* Add zwave_js.set_lock_configuration service
* Add tests
* string tweaks
* Update homeassistant/components/zwave_js/lock.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update strings.json
* Update services.yaml
* Update lock.py
* Remove handle params
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-15 17:01:20 +01:00
Raman Gupta
f511a8a26a
Expand `zwave_js.set_config_parameter` with additional parameters ( #102092 )
2023-11-08 17:05:31 -05:00
Raman Gupta
0fcaa2c581
Add `zwave_js.refresh_notifications` service ( #101370 )
2023-11-07 09:11:38 -05:00
Raman Gupta
2b3d57859e
Add test for firmware update scenario ( #103314 )
2023-11-04 13:12:06 +01:00
Raman Gupta
eeb88f5e07
Fix zwave_js cover bug for Window Covering CC values ( #103289 )
...
* Fix cover bug for Window Covering CC values
* update test
* Fix fixture
* Remove no-op line from test
2023-11-03 15:36:48 +01:00
kpine
46ecf0d4bd
Revert "Fix temperature setting for multi-setpoint z-wave device ( #102395 )" ( #103022 )
...
This reverts commit 2d6dc2bccc
.
2023-10-29 19:15:19 +01:00
Raman Gupta
94e192db12
Fix zwave_js siren name ( #103016 )
...
* Fix zwave_js.siren name
* Fix test
2023-10-29 17:44:15 +01:00
Erik Montnemery
03d3a87f23
Small cleanup of legacy groups ( #102918 )
...
* Small cleanup of legacy groups
* Update tests which create groups
2023-10-28 17:16:41 +02:00