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
Raman Gupta
8d9b66e23d
Add current humidity to zwave_js climate platform ( #45857 )
2021-02-02 09:41:00 +01:00
Raman Gupta
197c857e1f
Search all endpoints for value in zwave_js ( #45809 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-01 14:46:06 -05:00
Raman Gupta
8f7a4a68b2
Fix zwave_js climate entity temperature unit ( #45377 )
2021-01-22 09:23:16 +01:00
kpine
d7a0f1e467
Include config entry id in zwave_js signal names ( #45282 )
2021-01-19 16:40:01 +01:00
Raman Gupta
b2f914823d
Add climate platform to zwave_js ( #45177 )
...
* add zwave_js support for climate
* fix
* add fixture
* rename fixture
* fix variable name error
* add tests
* fix tests and handle set_temp properly based on unit
* update call being tested
* fix tests
* improve coverage
* fix docstring
* address review comments
* fix test
* update enum class name
* bump zwave-js-server-python version and assume primary_value is always set
* add additional coverage
* fix docstrings and move populating modes/presets into initialization
* attempt to address comments
* improve comment
* move mode value into a variable so its easier to iterate in the future
* dont assume mode as a discovery point
* assume all values are available when node is ready
* fix order of operations
* switch to valueerror
* use primary value
* readd property and type to discovery schema
2021-01-18 03:45:06 +01:00