jan iversen
3cc5ffaa4b
Replace modbus number_validator by HA standard ( #108939 )
2024-01-27 16:39:33 +01:00
CR-Tech
df9faeae6f
Add write_registers support for Fan Mode in modbus ( #108053 )
2024-01-24 20:48:55 +01:00
jan iversen
d8f16c14ab
Get modbus coverage back to 100% ( #108734 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-23 21:50:25 +01:00
jan iversen
40d4061fc5
Only set precision in modbus if not configured. ( #106952 )
...
Only set precision if not configured.
2024-01-03 13:42:55 +01:00
jan iversen
2abf7d75e9
Remove default value for modbus lazy_error ( #106561 )
2023-12-28 17:37:48 +01:00
jan iversen
21dbc57fc1
Remove default value from modbus retries ( #106551 )
...
Solve retries issue.
2023-12-28 14:20:56 +01:00
Cían Hughes
e051244927
Add Modbus fan speed support ( #104577 )
...
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-12-07 08:19:03 +01:00
jan iversen
1629bdcd7f
Remove "swap: none" from modbus ( #104713 )
2023-12-04 14:48:40 +01:00
jan iversen
81cb7470fc
Remove illegal int8 from modbus config ( #103489 )
2023-11-08 11:06:14 +01:00
jan iversen
bc45de627a
Allow negative minimum temperature for modbus ( #102118 )
2023-10-22 23:44:38 +02:00
jan iversen
9931f45532
Deprecate modbus parameter retry_on_empty ( #100292 )
2023-09-16 21:14:52 +02:00
jan iversen
fd83f7d87f
Add test for modbus CONF_DEVICE_ADDR ( #100435 )
2023-09-15 16:12:44 +02:00
jan iversen
ec2364ef43
Add virtual_count == slave_count in modbus configuration ( #100398 )
...
* Add virtual_count as config parameter.
* Review (other PR) comments.
* Review.
* Review comment.
2023-09-15 14:00:02 +02:00
jan iversen
c173ebd11a
Add device_address to modbus configuration ( #100399 )
2023-09-15 13:49:33 +02:00
jan iversen
26ada30720
Remove default from deprecated close_comm_on_error ( #100188 )
2023-09-12 14:12:45 +02:00
jan iversen
f85a3861f2
Make validator for modbus table controlled ( #99092 )
2023-09-03 21:04:58 +02:00
escoand
4632a07f3f
Add possibility to have multiple values for every modbus hvac mode ( #98829 )
...
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-29 10:45:37 +02:00
jan iversen
fc463e5831
modbus: remove unused constants and get 100% coverage. ( #97779 )
2023-08-08 16:40:16 +02:00
Johannes Wagner
c4a5373976
Handle explicit Modbus NaN values ( #90800 )
...
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-06 13:47:54 +02:00
Bruno Enten
3ce05314e0
use write_registers also for target temp ( #97475 )
2023-08-02 13:36:05 +02:00
jan iversen
6e5b4f9f82
Add modbus hvac_* write registers ( #89695 )
2023-03-15 14:09:14 +01:00
GrahamJB1
8bff95014c
Add modbus min/max values ( #86131 )
...
* modbus min/max values
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-02-02 22:29:03 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
jan iversen
6bd70fdf15
Solve Modbus reload issue ( #82253 )
...
fixes undefined
2022-11-18 09:32:51 +01:00
Avishay
92b5721f80
Fix modbus hvac mode keys ( #81747 )
...
Change the HVAC mode register conf constants
2022-11-09 11:09:21 +01:00
Benjamin Salchow
1d633ac484
Accept input register in Modbus binary sensor ( #81352 )
...
Adds input register as valid option for modbus binary_sensor
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2022-11-07 10:14:12 +01:00
Avishay
ae7eb9cef9
Add mode control for Modbus climate entities ( #73906 )
...
* Add support for Modbus HVAC control registers
2022-10-20 13:15:30 +02:00
Nippey
0e1fe4eba5
Modbus: Add support for Holding Registers to Binary Sensor ( #80460 )
...
Update handling of binary sensors to support reading from holding registers (command 0x03).
2022-10-18 10:31:08 +02:00
epenet
7aa7458a22
Expose modbus constants in root ( #78269 )
2022-09-12 18:48:10 +02:00
jan iversen
1a79118600
Fix modbus reload service ( #68040 )
...
* Fix modbus reload service.
* Please coverage.
* Resolve difference between local pytest and github.
2022-03-12 14:12:38 +02:00
jan iversen
306498378c
Coverage 100% of Modbus climate ( #67396 )
...
* Coverage 100% of climate.py
* Allow 100% test.
2022-03-11 19:14:40 +02:00
jan iversen
e891df0ff3
Allow multi read of Modbus sensor ( #67378 )
2022-02-28 11:07:55 -08:00
jan iversen
6ec9c402b1
Remove generic data types INT, UINT, FLOAT in modbus ( #67268 )
2022-02-26 13:27:48 -08:00
jan iversen
3173f1672b
Remove deprecated reverse_order and data_count from Modbus ( #67236 )
2022-02-25 08:01:03 -08:00
jan iversen
cb877adb6a
Allow multiread in modbus binary_sensor ( #59886 )
2022-02-21 10:22:50 -08:00
jan iversen
4ca339c5b1
Set slave default to 0, as already documented in Modbus ( #66921 )
2022-02-20 11:56:38 +01:00
jan iversen
d76687d672
Add support for INT8 and UINT8 in Modbus ( #66889 )
2022-02-19 17:17:29 +01:00
Tathar
16e5d7abe1
Add unique_id to modbus entities ( #64634 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 10:37:15 +01:00
jan iversen
42803e6ac0
Clean startup of modbus by moving service schemas ( #57763 )
2021-10-15 09:40:27 -07:00
jan iversen
4417ffb407
COnvert DATA_TYPE to enum. ( #57699 )
2021-10-15 07:09:59 +02:00
Robert Hillis
488a636aec
Clean up unused loggers ( #57662 )
2021-10-14 10:03:38 -07:00
jan iversen
c7c789f618
Strictly type modbus __init__.py, validator.py ( #56378 )
...
* strictly type: __init__.py, validator.py
2021-09-21 13:43:41 +02:00
jan iversen
aaa62dadec
Add service to stop/restart modbus ( #55599 )
...
* Add service to stop/restart modbus.
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-14 09:42:50 +02:00
Matthias Alphart
cd0ae66d58
Add CONF_STATE_CLASS to sensor/__init__.py
( #54106 )
...
* add CONF_STATE_CLASS to const.py
* move to `sensor/__init__.py`
* move to sensor/const.py
* Revert "move to sensor/const.py"
This reverts commit 604d0d066b
.
* move it to `sensor/const.py` but import it from `sensor/__init__.py`
* add Modbus
2021-08-27 05:54:50 +02:00
jan iversen
7df8d0c973
Check for duplicate host/port and integration name in modbus ( #54664 )
...
* Check for duplicate host/port and integration name.
* Change to use set().
* Please CI.
* Add basic tests.
2021-08-25 12:29:00 +02:00
Matthias Alphart
51361fbd2b
Add configurable state_class
to Modbus sensors ( #54103 )
...
* add configurable state_class
* Add test of new parameter.
Co-authored-by: jan Iversen <jancasacondor@gmail.com>
2021-08-25 11:50:54 +02:00
jan iversen
33f660118f
Add lazy_error_count to modbus ( #54412 )
...
* Add lazy_error_count.
* Use -=
* Review comments.
2021-08-21 15:49:50 +02:00
jan iversen
0688aaa2b6
Check for duplicate entity name/address in modbus entities ( #54669 )
...
* Check for duplicate entity name/address.
2021-08-19 09:37:31 +02:00
jan iversen
bafbbc6563
Adjust modbus constants names ( #54792 )
...
* Follow up.
2021-08-18 12:56:54 +02:00
jan iversen
e8aa280d7f
Add modbus get_hub ( #54277 )
...
* Add dict with hubs.
* Update flexit to use get_hub.
* Remove executor_task for close.
2021-08-08 22:48:33 +02:00