2cb987095d
[modbus] Share helper functions across modbus components - part B ( #14172 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-31 10:48:16 -10:00
Bonne Eggleston and J. Nick Koston
31574a427b
[modbus] Share helper functions across modbus components - part A ( #15291 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-30 06:56:47 -10:00
J. Nick Koston
d86d1f9f52
[modbus_controller] Replace format_hex_pretty with stack-based format_hex_pretty_to ( #12781 )
2026-01-07 08:29:28 -10:00
J. Nick Koston
c3f40de844
[modbus_controller] Optimize lambdas to use function pointers instead of std::function ( #11566 )
2025-10-29 08:06:13 +13:00
Keith Burzinski
edd847ea40
[modbus_controller] Clang fixes ( #7899 )
2024-12-02 13:27:32 +13:00
Jesse Hills
73e469ae52
[modbus_controller] Fix linting and formatting issues ( #7441 )
2024-09-16 13:43:45 +12:00
GitforZhangXL and Jesse Hills
86407b9f6f
Change variable "skip_updates" and "skip_updates_counter" type from "uint8_t" to "uint16_t" ( #4487 )
...
* change 'skip_updates'from 'uint8' to 'uint16_t'
* Delete modbus_controller_fix.md
* Update modbus_controller.h
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-02-26 22:35:00 +00:00
Regev Brody
e68beb8a43
add SUB_NUMBER macro and schema to number ( #4449 )
...
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
2023-02-19 19:54:00 +00:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
André Klitzing
72cce391ab
Fix some typos found by codespell ( #3598 )
2022-06-27 18:02:46 -03:00
Jesse Hills
7f7175b184
Publish custom data when modbus number lambda fills vector ( #3295 )
2022-03-29 22:22:11 +13:00
Jesse Hills
0372d17a11
Allow custom register type for modbus number ( #3202 )
2022-03-16 13:43:05 +13:00
Martin
6b27f2d2cf
Remove unused polling_component_schema from modbus number ( #3108 )
2022-01-25 08:44:20 +13:00
Oxan van Leeuwen and Jesse Hills
b2430097f2
Enable readability-named-parameter check ( #3098 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-23 20:39:07 +13:00
Oxan van Leeuwen
7da12a878f
Enable readability-redundant-member-init check ( #3097 )
2022-01-23 20:34:43 +13:00
Martin
434ab65c16
[modbus_controller] fix incorrect start address for number write ( #3073 )
2022-01-20 09:19:24 +13:00
Martin
1fb0a7109d
Modbus: use multiply for publishing number ( #2916 )
2021-12-15 22:38:23 +13:00
Jesse Hills
4e10881331
Log the actual value in modbus number ( #2901 )
2021-12-13 10:28:19 +13:00
Guillermo Ruffino and Martin
c490388e80
Modbus number/output use write single ( #2896 )
...
Co-authored-by: Martin <25747549+martgras@users.noreply.github.com >
2021-12-10 09:44:43 +13:00
Jesse Hills
24ec5a6e9d
Fix published state for modbus number ( #2894 )
2021-12-10 09:32:34 +13:00
Oxan van Leeuwen
607601b3a4
Enable a bunch of clang-tidy checks ( #2149 )
2021-12-02 09:03:51 +13:00
Martin
17a37b1de9
Modbus_controller: Add custom command. ( #2680 )
2021-11-26 12:48:52 +13:00
Jesse Hills
7333123ba4
Fix indentation of write_lambda for modbus_controller number ( #2722 )
2021-11-15 10:59:48 +13:00
Martin
2f85c27a05
fix modbus output ( #2630 )
2021-10-26 11:30:25 +02:00
Oxan van Leeuwen
1031ea4313
Fix line endings normalization ( #2407 )
...
* Strip CRLF line endings from modbus controller files
* Normalize all line endings to LF
2021-09-30 18:07:28 +02:00
Martin and Jesse Hills
7672ba2c8d
Modbus controller ( #1779 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-27 09:27:24 +13:00