epenet
02956f9a83
Improve formatting in component test files ( #135267 )
...
Improve formatting in test files
2025-01-10 10:53:45 +01:00
Ілля Піскурьов
3b5455bc49
Add support for specifying hvac_onoff_register value on modbus ( #128366 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-01-02 15:18:05 +00:00
Claudio Ruggeri - CR-Tech
5c0659c8df
Fix reload modbus component issue ( #133820 )
...
fix issue 116675
2024-12-24 13:57:18 +01:00
Claudio Ruggeri - CR-Tech
760c3ac98c
Bump pymodbus version 3.7.4 ( #133175 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-12-15 12:24:27 +01:00
Marc Mueller
31a2bb1b98
Fix flaky modbus tests ( #130252 )
2024-11-09 22:58:16 +01:00
Jan-Philipp Benecke
3c342077d6
Remove deprecated `retries` and `lazy_error_count` yaml option ( #128932 )
2024-10-25 12:02:47 +02:00
Claudio Ruggeri - CR-Tech
f1bef1e7e6
Remove string literals from modbus component tests ( #128899 )
2024-10-25 12:01:42 +02:00
Claudio Ruggeri - CR-Tech
49d534e779
Add list as possible values for State On/Off ModBus Switch ( #127444 )
...
* add possibility to set multiple val on state
* Add support for list also in state_off
2024-10-18 10:10:47 +02:00
G Johansson
2ab5e5d267
Remove deprecated restart service in modbus ( #128059 )
2024-10-10 17:30:50 +02:00
G Johansson
666e8e133e
Cover state is enum ( #127144 )
...
* Change light state to use enum
* Adjust cover tests
* Update cover
* Fix covers
* Some tests
* More tests
* Fix tests
* Fix
2024-10-08 18:39:04 +02:00
Jan-Philipp Benecke
2ec0d8e8ef
Use debug/warning instead of info log level in components [m] ( #126074 )
...
* Use debug instead of info log level in components [m]
* Fix modbus test
2024-09-17 16:14:59 +02:00
epenet
3e967700fd
Add missing return type in test __init__ method (part 2) ( #123939 )
...
* Add missing return type in test __init__ method (part 2)
* Adjust
* One more
* One more
* More
2024-08-14 17:59:15 +02:00
epenet
8e0dfbcd13
Improve type hints in modbus tests ( #123795 )
2024-08-13 13:15:35 +02:00
G Johansson
a913587eb6
Climate validate temperature(s) out of range ( #118649 )
...
* Climate temperature out of range
* Fix test sensibo
* use temp converting for min/max
* Fix
* Fix mqtt tests
* Fix honeywell tests
* Fix Balboa tests
* Fix whirlpool test
* Fix teslemetry test
* Fix plugwise test
* Fix tplink test
* Fix generic thermostat test
* Fix modbus test
* Fix fritzbox tests
* Honewell
2024-07-31 19:17:53 +02:00
epenet
86f7718c1f
Adjust type hints for unnecessary returns in tests ( #121657 )
2024-07-10 09:30:50 +02:00
jan iversen
5e56c27703
Modbus, Remove duplicate address check ( #121579 )
2024-07-09 21:16:47 +02:00
epenet
4962895f19
Fix consider-using-enumerate warnings in tests ( #119506 )
2024-06-12 16:27:56 +02:00
epenet
fb1b0058ee
Fix consider-using-tuple pylint warnings in component tests ( #119464 )
...
* Fix consider-using-tuple pylint warnings in component tests
* Apply su
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2024-06-12 15:50:27 +02:00
epenet
fbaba3753b
Fix root-import pylint warning in components ( #119294 )
...
* Fix root-import pylint warning in components
* Adjust
* Adjust
2024-06-10 15:14:49 +02:00
epenet
b54a68750b
Add type hints for FixtureRequest in tests ( #118779 )
2024-06-04 10:37:54 +02:00
epenet
9a5706fa30
Add type hints for pytest.LogCaptureFixture in test fixtures ( #118687 )
2024-06-03 09:28:54 +02:00
jan iversen
3202743b6c
Cleanup modbus test mocks ( #115412 )
2024-04-17 19:10:09 +02:00
jan iversen
220801bf1c
Secure against resetting a non active modbus ( #115364 )
2024-04-10 22:09:10 +02:00
jan iversen
8d6473061c
Solve modbus test problem ( #115376 )
...
Fix test.
2024-04-10 21:39:53 +02:00
Claudio Ruggeri - CR-Tech
a28731c294
Add Swing Mode Feature to Modbus integration ( #113710 )
2024-04-06 11:01:44 +02:00
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
Sid
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Sid
727581eea3
Add first batch of Ruff PT rules ( #113665 )
...
* Add first batch of Ruff PT rules
* fix weather test
* Fix pilight test
* Update test_intent.py
* Update pilight test_init.py
* Update test_init.py
2024-03-18 13:26:14 +01:00
Sid
d5fd005db8
Add ruff rule PIE808 ( #113621 )
2024-03-17 09:56:26 +01:00
jan iversen
02d4bf007d
Do not allow modbus config without entities ( #113516 )
2024-03-15 19:49:29 +01:00
jan iversen
7cba34b2e6
Change modbus integration to use async library calls ( #113450 )
2024-03-14 23:19:52 +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
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
fca3ac9903
Update modbus test to include a dummy sensor ( #112820 )
2024-03-09 12:19:57 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +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
1722e23df8
Add empty line after module docstring [tests l-p] ( #112710 )
2024-03-08 14:55:15 +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
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
55f10656a7
Allow modbus "scale" to be negative. ( #109965 )
2024-02-08 12:40:32 +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
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
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