Commit graph

378 commits

Author SHA1 Message Date
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
jan iversen
a88676384a
Bump pymodbus to v3.1.3 (#87841) 2023-02-12 20:21:59 +01:00
jan iversen
b9b5a279f2
Correct sensor restore entity in modbus (#87563)
* Correct sensor restore entity.

* Review comments.
2023-02-09 21:35:44 +01:00
Erik Montnemery
1d64ba9d34
Sort manifests 6 (#87027) 2023-02-08 20:38:43 +01:00
epenet
810367b757
Fix can not typo (#87254) 2023-02-03 11:37:16 +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
d703a83412
Bump pymodbus to v3.1.1 (#86513) 2023-01-24 14:14:49 +01:00
Marc Mueller
da35097803
Update Optional typing (2) [Py310] (#86419) 2023-01-23 09:10:05 +01:00
GrahamJB1
200d3ae845
modbus slave unique ids (#86126)
modbus slave unique ids
2023-01-19 11:08:11 +01:00
GrahamJB1
bcd4c031c6
Support float in modbus register sensor (#86128)
register sensor should support float
2023-01-19 09:41:49 +01:00
Marc Mueller
141acba40d
Remove unnecessary try-else (3) (#86160) 2023-01-18 14:25:28 +01:00
GrahamJB1
9d9817328b
Reset Modbus value on down (#86127)
* modbus: slave should reset value on sensor down as parent does that

* modbus: slave should reset value on sensor down as parent does that
2023-01-18 08:49:38 +01:00
jan iversen
05c1aff0f6
Bump pymodbus library to V3.1.0 (#85961)
fixes undefined
2023-01-15 23:30:26 +01:00
Marc Mueller
77e71cf18b
Improve modbus generic typing (#84737) 2022-12-29 12:37:31 +01:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
epenet
8b867d612f
Use UnitOfTemperature in climate entities [m-s] (#83131) 2022-12-02 19:56:18 +01:00
jan iversen
8ed4ce64c3
Solve modbus binary slave problem (#82338)
* Solve modbus binary slave problem.
2022-11-26 11:11:50 +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