1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-28 01:37:07 +00:00

61 Commits

Author SHA1 Message Date
Jan-Philipp Benecke
3c342077d6
Remove deprecated retries and lazy_error_count yaml option () 2024-10-25 12:02:47 +02:00
epenet
e734971d33
Enable collections-named-tuple (PYI024) rule in ruff () 2024-08-02 15:28:32 +02:00
jan iversen
5e56c27703
Modbus, Remove duplicate address check () 2024-07-09 21:16:47 +02:00
Sid
ac54cdcdb4
Enable Ruff RUF010 ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-08 23:54:49 +02:00
Claudio Ruggeri - CR-Tech
a28731c294
Add Swing Mode Feature to Modbus integration () 2024-04-06 11:01:44 +02:00
jan iversen
02d4bf007d
Do not allow modbus config without entities () 2024-03-15 19:49:29 +01:00
jan iversen
a9fb34d9c2
Remove modbus create_issue from init ()
Create_issue only in check_config.
2024-03-15 15:16:06 +01:00
jan iversen
1c938f6422
create issues for modbus config errors () 2024-03-15 13:44:29 +01:00
jan iversen
7696973932
Move modbus check_config to setup, to have access to hass () 2024-03-14 12:54:01 +01:00
Joost Lekkerkerker
2792a5f016
Enable even more SIM ruff rules ()
* SIM202 SIM211 SIM220 SIM221 SIM222 SIM223

* SIM910 SIM911

* SIM

* Update homeassistant/components/mqtt/siren.py

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* Update homeassistant/components/mqtt/siren.py

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-11 14:23:52 +01:00
jan iversen
693f72eff1
Issue warning modbus configuration when modbus configuration is empty () 2024-03-09 08:49:11 +01:00
jan iversen
ea89fa6b1e
Allow duplicate names in different modbus entities ()
Allow duplicate names in different entities.
2024-03-08 15:10:35 +01:00
Marc Mueller
59a6035d3f
Add empty line after module docstring [j-m] () 2024-03-08 09:01:29 -05:00
jan iversen
714777e853
modbus scan_interval: 0 is correct configuration () 2024-03-07 17:55:06 +01:00
jan iversen
4a1681bb4b
Allow duplicate modbus addresses on different devices () 2024-03-05 22:11:04 +01:00
Claudio Ruggeri - CR-Tech
1ded412061
Add modbus option to manage different setPoint registers ()
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2024-02-17 19:48:42 +01:00
jan iversen
90ec361fc9
Centralize validation for modbus config ()
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-02 12:42:12 +01:00
jan iversen
3cc5ffaa4b
Replace modbus number_validator by HA standard () 2024-01-27 16:39:33 +01:00
CR-Tech
df9faeae6f
Add write_registers support for Fan Mode in modbus () 2024-01-24 20:48:55 +01:00
jan iversen
d8f16c14ab
Get modbus coverage back to 100% ()
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
3963f59121
Reduce modbus validator for "swap" (remove special handling) () 2023-12-11 16:12:32 +01:00
Cían Hughes
e051244927
Add Modbus fan speed support ()
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-12-07 08:19:03 +01:00
jan iversen
1629bdcd7f
Remove "swap: none" from modbus () 2023-12-04 14:48:40 +01:00
jan iversen
be889c89c1
Update modbus validate table to be 3 state, to simplify the code () 2023-11-26 17:49:51 +01:00
jan iversen
81cb7470fc
Remove illegal int8 from modbus config () 2023-11-08 11:06:14 +01:00
jan iversen
40dc6d8191
Reduce modbus validator by using table () 2023-11-08 09:55:00 +01:00
jan iversen
5eba6dbc9f
modbus Allow swap: byte for datatype: string. () 2023-11-06 07:52:15 +01:00
jan iversen
d2c842ee0c
Modbus, wrong length when reading strings () 2023-10-06 14:10:10 +02:00
jan iversen
ec2364ef43
Add virtual_count == slave_count in modbus configuration ()
* 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 () 2023-09-15 13:49:33 +02:00
jan iversen
f85a3861f2
Make validator for modbus table controlled () 2023-09-03 21:04:58 +02:00
jan iversen
92258b8e6f
Correct modbus swap/datatype error message () 2023-08-21 22:55:50 +02:00
jan iversen
1a032cebdd
modbus: slave is allowed with custom () 2023-08-18 23:18:55 +02:00
jan iversen
1c56c39897
modbus config: count and slave_count can normally not be mixed. () 2023-08-18 13:10:13 +02:00
jan iversen
59d37f65d5
Correct modbus config validator: slave/swap () 2023-08-18 10:55:39 +02:00
Johannes Wagner
c4a5373976
Handle explicit Modbus NaN values ()
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-06 13:47:54 +02:00
epenet
810367b757
Fix can not typo () 2023-02-03 11:37:16 +01:00
Franck Nijhof
baef267f33
String formatting and max line length - Part 3 () 2022-12-22 13:35:47 +01:00
jan iversen
2e7de9570a
CONF_SLAVE do not have default 0 in a validator () 2022-03-01 16:40:00 +01:00
jan iversen
e891df0ff3
Allow multi read of Modbus sensor () 2022-02-28 11:07:55 -08:00
jan iversen
6ec9c402b1
Remove generic data types INT, UINT, FLOAT in modbus () 2022-02-26 13:27:48 -08:00
jan iversen
4ca339c5b1
Set slave default to 0, as already documented in Modbus () 2022-02-20 11:56:38 +01:00
jan iversen
d76687d672
Add support for INT8 and UINT8 in Modbus () 2022-02-19 17:17:29 +01:00
jan iversen
4417ffb407
COnvert DATA_TYPE to enum. () 2021-10-15 07:09:59 +02:00
jan iversen
c7c789f618
Strictly type modbus __init__.py, validator.py ()
* strictly type: __init__.py, validator.py
2021-09-21 13:43:41 +02:00
jan iversen
8d4aac618d
Allow same IP if ports are different on modbus () 2021-09-06 13:40:15 -07:00
jan iversen
cac3e1acfa
Allow same address different register types in modbus () 2021-09-06 13:35:40 -07:00
jan iversen
69aba2a6a1
Correct duplicate address. () 2021-09-02 13:53:38 +02:00
jan iversen
7df8d0c973
Check for duplicate host/port and integration name in modbus ()
* 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
jan iversen
0688aaa2b6
Check for duplicate entity name/address in modbus entities ()
* Check for duplicate entity name/address.
2021-08-19 09:37:31 +02:00