Commit Graph

352 Commits (834f45397d6a6e3c8d350f635f41bd2843730b7e)

Author SHA1 Message Date
Joost Lekkerkerker 6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
jan iversen e1897906cc
modbus: Remove PARALLEL_UPDATES from base_platform (#113928)
Remove PARALLEL_UPDATES from base_platform.
2024-03-21 10:43:58 +01:00
jan iversen 59c4c85089
Upgrade Modbus quality scale to platinum (#113482)
Quality scale: Platinum.
2024-03-21 09:49:37 +01:00
jan iversen c2538d5176
Bump pymodbus v3.6.6 (#113796) 2024-03-19 09:37:36 +01:00
Sid d5fd005db8
Add ruff rule PIE808 (#113621) 2024-03-17 09:56:26 +01:00
Sid 6ee273a548
Clean up unneeded ruff noqa directives (#113616) 2024-03-16 09:48:37 -10:00
jan iversen 02d4bf007d
Do not allow modbus config without entities (#113516) 2024-03-15 19:49:29 +01:00
jan iversen a9fb34d9c2
Remove modbus create_issue from init (#113510)
Create_issue only in check_config.
2024-03-15 15:16:06 +01:00
jan iversen 1c938f6422
create issues for modbus config errors (#113431) 2024-03-15 13:44:29 +01:00
jan iversen 7cba34b2e6
Change modbus integration to use async library calls (#113450) 2024-03-14 23:19:52 +01:00
Joost Lekkerkerker 20c2bac32e
Add service icons to Modbus (#113332) 2024-03-14 14:00:50 +01:00
jan iversen 7696973932
Move modbus check_config to setup, to have access to hass (#112828) 2024-03-14 12:54:01 +01:00
Joost Lekkerkerker 595d07f1c6
Improve lists in integrations [L-M] (#113227)
* Improve lists in integrations [L-M]

* Update homeassistant/components/mailbox/__init__.py

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

* Fix

---------

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-13 21:28:21 +01:00
Joost Lekkerkerker 2792a5f016
Enable even more SIM ruff rules (#113017)
* 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 59083b4e82
Remove deprecated retry_on_empty from modbus (#112822)
Remove deprecated retry_on_empty.
2024-03-09 13:59:09 +01:00
jan iversen 797983236f
Remove deprecated CLOSE_COMM_ON_ERROR from modbus (#112821) 2024-03-09 13:24:06 +01:00
jan iversen 693f72eff1
Issue warning modbus configuration when modbus configuration is empty (#112618) 2024-03-09 08:49:11 +01:00
jan iversen ea89fa6b1e
Allow duplicate names in different modbus entities (#112701)
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] (#112700) 2024-03-08 09:01:29 -05:00
jan iversen 27af6f1466
Bump pymodbus to v3.6.5 (#112629) 2024-03-07 22:38:51 +01:00
jan iversen 714777e853
modbus scan_interval: 0 is correct configuration (#112619) 2024-03-07 17:55:06 +01:00
jan iversen 4a1681bb4b
Allow duplicate modbus addresses on different devices (#112434) 2024-03-05 22:11:04 +01:00
Claudio Ruggeri - CR-Tech 1ded412061
Add modbus option to manage different setPoint registers (#107600)
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2024-02-17 19:48:42 +01:00
jan iversen 286c98d70f
Modbus, allow received int to be a float. (#110648) 2024-02-15 18:22:23 +01:00
jan iversen a0abc27612
Avoid key_error in modbus climate with non-defined fan_mode. (#110017) 2024-02-09 08:39:08 +01:00
jan iversen 97c6fd0f8d
Allow modbus negative min/max value. (#109995) 2024-02-08 15:34:43 +01:00
jan iversen 9f50153c8b
Allow modbus min/max temperature to be negative. (#109977) 2024-02-08 13:48:33 +01:00
jan iversen e968486594
Bump pymodbus to v3.6.4 (#109980) 2024-02-08 13:16:50 +01:00
jan iversen 55f10656a7
Allow modbus "scale" to be negative. (#109965) 2024-02-08 12:40:32 +01:00
Marc Mueller bf8bd5ff21
Use dict.get instead of inline if (#109693) 2024-02-05 13:56:10 +01:00
jan iversen 90ec361fc9
Centralize validation for modbus config (#108906)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-02-02 12:42:12 +01:00
jan iversen 543870d5f1
Correct modbus commit validation, too strict on integers (#109338) 2024-02-02 09:46:53 +01:00
G Johansson 2788576dc9
Add TURN_ON/OFF ClimateEntityFeature for Modbus (#109133) 2024-02-02 09:31:35 +01:00
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 bfd9bd3ff2
Bump pymodbus to v2.6.3 (#108736) 2024-01-23 21:12:07 +01:00
CR-Tech df97b0e945
Removed double assignment of _attr_target_temperature_step in __init__ (#106611)
Removed double/wrong assignement of _attr_target_temperature_step into climate Init routine
2024-01-03 13:44:14 +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
jan iversen 9066555feb
Deprecate parameter "retries" in modbus (#105024) 2023-12-24 16:47:22 +01:00
jan iversen 3963f59121
Reduce modbus validator for "swap" (remove special handling) (#105021) 2023-12-11 16:12:32 +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 0638088aee
Deprecate and remove lazy_error from modbus (#105037) 2023-12-05 13:08:33 +01:00
jan iversen 1629bdcd7f
Remove "swap: none" from modbus (#104713) 2023-12-04 14:48:40 +01:00
jan iversen be889c89c1
Update modbus validate table to be 3 state, to simplify the code (#104514) 2023-11-26 17:49:51 +01:00
jan iversen 86b172037b
Add address to error text in modbus (#104520) 2023-11-25 21:28:49 +01:00
jan iversen 81cb7470fc
Remove illegal int8 from modbus config (#103489) 2023-11-08 11:06:14 +01:00
jan iversen 40dc6d8191
Reduce modbus validator by using table (#103488) 2023-11-08 09:55:00 +01:00