Adrián Moreno
0e428f8d39
Deprecate Dry and Fan preset modes in favor of HVAC modes ( #95634 )
...
* zwave_js: deprecate Dry and Fan preset modes
Migrating Dry and Fan presets to HVAC modes
* Move consts. Set Dry and Fan as HVAC-first modes.
* Update homeassistant/components/zwave_js/climate.py
Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
* Fix tests
* Keep track of HA release when deprecation was introduced
---------
Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2023-07-05 15:12:21 -04:00
Raman Gupta
bd8c88f51b
Add error handling for all zwave_js service calls ( #93846 )
...
* Add error handling for all service calls
* Switch siren to use internal function
* Remove failing checks
* Revert change to poll service, add comments, and add additional error handling
* Add error handling for ping and refresh + review comment + add tests
* Add test for statistics entity refresh
2023-05-31 11:09:01 -04:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks ( #87344 )
2023-02-03 23:51:27 +01:00
epenet
da2efde354
Set alarm and climate supported features default ( #82247 )
2022-11-17 10:21:55 +01:00
Raman Gupta
9a747bafa3
Use enums instead of deprecated constants ( #81591 )
2022-11-05 10:33:56 +01:00
Raman Gupta
d4c28e04e4
Reduce missed coverage in zwave_js ( #79571 )
...
* Reduce missed coverage in zwave_js.climate and cover
* Add switch platform coverage
* Add select platform
* Add lock platform
* Remove one line of coverage from number platform
* update docstring
2022-10-18 10:06:29 +02:00
kpine
c040a7a152
Set zwave_js climate entity target temp attributes based on current mode ( #79575 )
...
* Report temperature correctly
* DRY
* Add test assertions
* Don't catch TypeError (revert)
2022-10-04 11:54:13 +02:00
epenet
24c26dc032
Use unit_conversion in components ( #79204 )
...
* Use unit_conversion in components
* Two more
2022-09-28 16:05:31 +02:00
epenet
6affd9c6fb
Import climate constants from root [m-z] ( #78178 )
2022-09-10 23:42:28 +02:00
epenet
e19e65908a
Use _attr_precision in entities ( #77477 )
2022-08-29 22:02:29 +02:00
Raman Gupta
5fdc694325
Bump zwave-js-server-python to 0.37.1 ( #72731 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-30 22:05:09 -07:00
Raman Gupta
fe3fa0ae17
Bump zwave-js-server-python to 0.37.0 ( #72395 )
2022-05-25 10:46:55 -07: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
Raman Gupta
684fe242d9
Set PARALLEL_UPDATES to 0 for all zwave_js platforms ( #71626 )
2022-05-11 20:51:10 -07:00
epenet
24b4690e5d
Use climate enums in zwave_js ( #70757 )
2022-04-26 12:23:48 +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
Marc Mueller
67e94f2b4b
Add type ignore error codes [N-Z] ( #66779 )
2022-02-18 09:41:12 +01:00
Marc Mueller
5e633498d2
Enable no_implicit_reexport
for core files [mypy] ( #63820 )
2022-01-26 10:55:06 +01:00
Michael
90e52cd3ad
Use relative imports [S-Z] ( #61576 )
2021-12-13 09:39:13 +01:00
Marc Mueller
eab235173b
Use assignment expressions 28 ( #58189 )
2021-10-22 14:06:04 +02:00
Raman Gupta
e9d25974b8
Switch to using constants wherever possible in zwave_js ( #56518 )
2021-09-30 02:21:53 +02:00
Raman Gupta
331726ec2f
Bump zwave-js-server-python to 0.29.1 ( #55460 )
2021-08-30 09:40:56 -07:00
Marc Mueller
a56485a8c5
Revert new unit types ( #53226 )
2021-07-20 14:13:51 +02:00
Marc Mueller
71a8ae3016
Add new unit types for better type checking ( #53124 )
...
* Add new unit types
* Update helper functions
* Update components
* Update lcn climate
2021-07-18 14:43:47 +02:00
Raman Gupta
9cbf88d944
Switch to using entry.async_on_remove ( #52952 )
2021-07-13 10:31:49 +02:00
Raman Gupta
81fe3583c9
Don't raise when setting HVAC mode without a mode ZwaveValue ( #52444 )
...
* Don't raise an error when setting HVAC mode without a value
* change logic based on discord convo and add tests
* tweak
2021-07-06 16:33:07 +02:00
Raman Gupta
fdc29d6a80
Add device specific discovery for Heatit Z-TRM3 thermostat ( #49804 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-30 16:10:25 +02:00
Ruslan Sayfutdinov
0301706fc6
Define AddEntitiesCallback type ( #49812 )
2021-04-29 12:28:14 +02:00
Raman Gupta
b98ca49a56
Add min and max temp properties to zwave_js.climate ( #49125 )
2021-04-12 22:12:38 +02:00
jjlawren
dbb771e19c
Check all endpoints for zwave_js.climate hvac_action ( #49115 )
2021-04-12 12:29:45 -04:00
Raman Gupta
2768f202b6
Check all endpoints for zwave_js.climate fan mode and operating state ( #48800 )
...
* Check all endpoints for zwave_js.climate fan mode and operating state
* fix test
2021-04-08 16:53:20 +02:00
Raman Gupta
dda9f957b6
Bump zwave-js-server-python to 0.23.0 to support zwave-js 7 ( #48094 )
...
* Bump zwave-js-server-python to 0.23.0 and update integration to support schema changes
* refactor notification evenets a bit
* fix tests and bug fixes
* additional changes due to new PR
* add command class and command name
* use new event names so we can retain event property names
* handle command status being returned from async_set_config_parameter
* bump dependency version
* adjust log message to be consistent
* disable pylint warning
* Update homeassistant/components/zwave_js/services.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add test for awake node
* switch async_get_registry to async_get
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-29 16:28:55 -04:00
Raman Gupta
08db248983
Fallback to current temperature unit for zwave_js climate ( #48347 )
...
* Fallback to current temperature unit for zwave_js climate
* don't use unit for N/A setpoint
* update comment
* add tests
2021-03-28 22:18:17 +02:00
Thiago Oliveira
26bceae99d
Set zwave_js climate precision to tenths for F ( #48133 )
2021-03-20 01:20:09 +01:00
Marc Mueller
dcca29ef68
Update typing 14 ( #48078 )
2021-03-18 15:08:35 +01:00
Franck Nijhof
5d5a110a20
None optional hass typing in base entity and notify ( #47528 )
2021-03-15 15:11:41 +01:00
Martin Hjelmare
c53a462b3d
Fix zwave_js preset mode lookup ( #47851 )
2021-03-13 22:27:05 +01:00
Raman Gupta
c7b9a0715d
Fix zwave_js preset supported feature ( #47819 )
2021-03-13 12:43:03 +01:00
Chris
7ca5e969cc
Fix zwave_js target_temp_low ( #47762 )
2021-03-12 00:28:38 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +01:00
Raman Gupta
797ee81fc9
Update zwave_js supported features list to be static ( #47623 )
2021-03-08 15:11:54 -08:00
Raman Gupta
ee69e93b46
Bump zwave-js-server-python to 0.21.0 ( #47408 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-04 16:15:50 -08:00
Martin Hjelmare
5ced7395f3
Fix access of missing zwave_js climate unit value ( #47380 )
2021-03-04 13:11:38 -08:00
Martin Hjelmare
c94968d811
Catch more zwave_js errors ( #46957 )
2021-02-23 16:36:53 +01:00
Raman Gupta
788134cbc4
Bump zwave-js-server-python to 0.18.0 ( #46787 )
...
* updates to support changes in zwave-js-server-python
* bump lib version
* use named arguments for optional args
* re-add lost commits
2021-02-20 09:50:00 +01:00
Raman Gupta
4d23ffacd1
Add zwave_js thermostat fan mode and fan state support ( #46793 )
...
* add thermostat fan mode and fan state support
* return when fan mode is not supported
* use get just in case
* validate state key is in states so we dont have to use get
* pylint
2021-02-20 00:20:10 +01:00
tkdrob
a5a45f29e2
Cleanup unused loggers ( #46510 )
2021-02-14 13:46:58 +01:00
Marcel van der Veldt
242ff045b9
Handle missing value in all platforms of zwave_js ( #46081 )
2021-02-06 14:02:03 +01:00
Tobias Sauerwein
5615ab4c25
Add support for climate setpoint thermostats to zwave_js ( #45890 )
2021-02-03 13:59:19 +01:00