Commit Graph

300 Commits (fe482af561d9996e7b987eae7139e6e22fc09a9e)

Author SHA1 Message Date
jan iversen bc45de627a
Allow negative minimum temperature for modbus (#102118) 2023-10-22 23:44:38 +02:00
jan iversen 3bb23a6d88
Correct process_raw_value for modbus sensor (#102032) 2023-10-18 17:25:57 +02:00
jan iversen edf510f9c0
Bump pymodbus v3.5.4 (#101877) 2023-10-12 18:19:11 +02:00
jan iversen d2c842ee0c
Modbus, wrong length when reading strings (#101529) 2023-10-06 14:10:10 +02:00
jan iversen 6ac1305c64
Adjust codeowners in modbus (#100474) 2023-09-18 12:39:09 +02:00
jan iversen 9931f45532
Deprecate modbus parameter retry_on_empty (#100292) 2023-09-16 21:14:52 +02:00
jan iversen 48dc81eff0
Simplify code, due to better error catching in modbus. (#100483) 2023-09-16 13:49:37 +02:00
jan iversen d25f45a957
Harden modbus against lib errors (#100469) 2023-09-16 09:57:55 +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 c178388956
Remove modbus pragma no cover and solve nan (#99221)
* Remove pragma no cover.

* Ruff !

* Review comments.

* update test.

* Review.

* review.

* Add slave test.
2023-09-12 16:05:59 +02:00
jan iversen 9acca1bf58
Make modbus retry fast on read errors (#99576)
* Fast retry on read errors.

* Review comments.
2023-09-12 10:01:15 -04:00
jan iversen 26ada30720
Remove default from deprecated close_comm_on_error (#100188) 2023-09-12 14:12:45 +02:00
jan iversen 71207e112e
Bring modbus naming in sync with standard (#99285) 2023-09-12 10:59:50 +02:00
jan iversen 743ce46311
Deprecate CLOSE_COMM_ON_ERROR (#99946) 2023-09-09 18:34:01 +02:00
jan iversen fdddbd7363
Bump pymodbus to v3.5.2 (#99988) 2023-09-09 17:45:19 +02:00
jan iversen be4ea32049
Bump pymodbus v.3.5.1 (#99940) 2023-09-08 19:20:06 +02:00
jan iversen 77180a73b7
Modbus scale parameter cuts decimals (#99758) 2023-09-07 20:56:00 +02:00
jan iversen f85a3861f2
Make validator for modbus table controlled (#99092) 2023-09-03 21:04:58 +02:00
jan iversen d19f617c25
Modbus switch, allow restore "unknown" (#99533) 2023-09-03 17:48:25 +02:00
jan iversen c94d4f501b
Read modbus data before scan_interval (#99243)
Read before scan_interval.
2023-09-03 17:13:49 +02:00
jan iversen 8a4e48532c
Bump pymodbus v3.5.0 (#99343)
Bump pymodbus v3.5.0.
2023-08-30 20:26:13 +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 a3b526eef6
Address late modbus review (#99123)
Post review comments.
2023-08-28 09:07:31 +02:00
jan iversen 92258b8e6f
Correct modbus swap/datatype error message (#98698) 2023-08-21 22:55:50 +02:00
jan iversen 1a032cebdd
modbus: slave is allowed with custom (#98644) 2023-08-18 23:18:55 +02:00
jan iversen c268adb07e
modbus: Repair swap for slaves (#97960) 2023-08-18 13:23:04 +02:00
jan iversen 1c56c39897
modbus config: count and slave_count can normally not be mixed. (#97902) 2023-08-18 13:10:13 +02:00
jan iversen 59d37f65d5
Correct modbus config validator: slave/swap (#97798) 2023-08-18 10:55:39 +02:00
jan iversen e42b9e6c4c
Modbus: set state_class etc in slaves. (#98332) 2023-08-18 10:52:57 +02:00
jan iversen 5a7084e78c
Correct number of registers to read for sensors for modbus (#98534) 2023-08-18 10:48:57 +02:00
jan iversen fc463e5831
modbus: remove unused constants and get 100% coverage. (#97779) 2023-08-08 16:40:16 +02:00
jan iversen a224b668d7
modbus: Adjust read count by slave_count (#97908) 2023-08-08 16:09:53 +02:00
String-656 56dd88db17
Replace Float 'nan' with None for modbus floats (#93832)
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-06 14:26:56 +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
jan iversen bbc34bae87
modbus: use pb not pymodbus consistently as name. (#97780)
Use pb not pymodbus consistently as name.
2023-08-04 20:14:32 +02:00
jan iversen d50b993f64
Bump pymodbus v3.4.1. (#97612)
* Bump pymodbus v3.4.1.

* Solve mypy problem.
2023-08-03 14:34:20 +03:00
Bruno Enten 3ce05314e0
use write_registers also for target temp (#97475) 2023-08-02 13:36:05 +02:00
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joost Lekkerkerker b367c95c81
Add more common translations (#96429)
* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof 0329378f2f
Migrate integration services (L-M) to support translations (#96374) 2023-07-12 00:24:16 +02:00
jan iversen 48607d0586
Bump pymodbus to 3.3.1 (#94162) 2023-06-08 15:57:49 +02:00
Erik Montnemery a71c097aeb
Revert "Allow setting an entity's name by its device class" (#93539) 2023-05-25 17:20:54 +02:00
Erik Montnemery 67c1051305
Allow setting an entity's name by its device class (#90767)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-09 18:55:55 +02:00
jan iversen 9092a76dbf
Correct typing of pymodbus in modbus (#90039) 2023-03-21 13:26:03 +01:00
jan iversen 2365a884d2
Secure modbus hub_collect remains valid (#89684)
Secure hub_collect remains valid.
2023-03-15 23:48:00 -04:00
jan iversen 6e5b4f9f82
Add modbus hvac_* write registers (#89695) 2023-03-15 14:09:14 +01:00
jan iversen cd23caff58
Correct modbus serial method parameter (#89738) 2023-03-15 12:27:45 +01:00
jan iversen b11539fb04
Move connect method into a task (#88452)
Move connect() into a task.
2023-02-20 08:32:47 +01:00