1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 14:48:18 +00:00

8823 Commits

Author SHA1 Message Date
Oliver Kleinecke
3b679c4aae fix: restore timers call in DynamicLampComponent::begin for proper functionality 2025-02-19 18:56:55 +01:00
Oliver Kleinecke
d189b207b1 fix: comment out lamp names string initialization in dump_config for debugging 2025-02-19 18:49:34 +01:00
Oliver Kleinecke
56240eab58 fix: comment out restore_timers_ call in DynamicLampComponent::begin for debugging purposes 2025-02-19 18:41:18 +01:00
Oliver Kleinecke
3f9bb14273 fix: implement lamp deactivation in SAVE_MODE_FRAM for proper state management 2025-02-19 18:32:26 +01:00
Oliver Kleinecke
82007c2ec0 fix: change loop variable type to uint8_t for consistency in dump_config 2025-02-19 17:37:53 +01:00
Oliver Kleinecke
b213650f35 fix: comment out unused lamp and output initialization for cleaner config dump 2025-02-19 17:35:50 +01:00
Oliver Kleinecke
c071dc8534 fix: correct timer reference in dump_config for accurate logging 2025-02-19 17:28:01 +01:00
Oliver Kleinecke
1c1650dc24 fix: initialize validation_bytes in DynamicLampTimer for proper timer validation 2025-02-19 17:24:42 +01:00
Oliver Kleinecke
2e4fd39896 fix: consolidate timer logging in restore_timers_ for improved clarity 2025-02-19 17:22:31 +01:00
Oliver Kleinecke
db7c003d53 fix: reduce timer array size from 256 to 64 for optimized memory usage 2025-02-19 17:12:30 +01:00
Oliver Kleinecke
446699cd57 fix: remove redundant default case logging in restore_lamp_settings_ for cleaner code 2025-02-19 17:07:48 +01:00
Oliver Kleinecke
d89963d208 fix: adjust timer_desc buffer size in add_timer for proper string handling 2025-02-19 16:59:30 +01:00
Oliver Kleinecke
253d3e1fea fix: update save mode cases to use SupportedSaveModes enum for consistency 2025-02-19 16:56:38 +01:00
Oliver Kleinecke
b67a42671f fix: initialize DynamicLampTimer instance for proper object creation in restore_timers_ 2025-02-19 16:53:06 +01:00
Oliver Kleinecke
c025ccabaa fix: add missing break statement in restore_timers_ for correct flow control 2025-02-19 16:50:07 +01:00
Oliver Kleinecke
4d238766e9 fix: simplify conditional checks in restore_timers_ for improved readability 2025-02-19 16:48:11 +01:00
Oliver Kleinecke
9cee344c42 fix: rename Dynamic_LampTimer to DynamicLampTimer for consistency in restore logic 2025-02-19 16:43:44 +01:00
Oliver Kleinecke
48f8578f11 fix: simplify restore function signatures for clarity 2025-02-19 16:38:59 +01:00
Oliver Kleinecke
c056a750d8 fix: rename Dynamic_LampTimer to DynamicLampTimer for consistency 2025-02-19 16:37:58 +01:00
Oliver Kleinecke
e39f8f1072 fix: update save mode handling and enhance timer restoration logic 2025-02-19 16:35:53 +01:00
Oliver Kleinecke
fdb782562b fix: rename timer description variable for consistency and clarity in logging 2025-02-19 15:07:08 +01:00
Oliver Kleinecke
943b024b33 fix: enhance timer functionality by adding description and adjusting log messages 2025-02-19 15:03:25 +01:00
Oliver Kleinecke
43e306998b fix: update condition in add_timer function for clarity in lamp list checks 2025-02-19 14:46:35 +01:00
Oliver Kleinecke
aa666b4379 fix: reorder CombinedLamp struct members for better organization 2025-02-19 13:50:19 +01:00
Oliver Kleinecke
79b85e2e0c fix: correct log message placement in read_timers_to_log function for better clarity 2025-02-19 13:38:45 +01:00
Oliver Kleinecke
a75a9523c2 fix: consolidate lamp names in log message for read_timers_to_log function 2025-02-19 13:33:40 +01:00
Oliver Kleinecke
c5d92adee8 fix: update log message format in read_timers_to_log function to use c_str() for lamp names 2025-02-19 13:14:40 +01:00
Oliver Kleinecke
a3a2eff663 fix: streamline read_timers_to_log function by removing unnecessary loop and improving log message format 2025-02-19 13:02:11 +01:00
Oliver Kleinecke
b9f1611145 fix: ensure active lamp check in add_timer function to prevent ignoring inactive lamps 2025-02-19 12:51:29 +01:00
Oliver Kleinecke
31b8f4f389 fix: correct lamp list index calculation in read_timers_to_log function 2025-02-19 12:32:42 +01:00
Oliver Kleinecke
d884aa73ff fix: refactor lamp list initialization and improve index handling in build_lamp_list_from_list_str_ function 2025-02-19 12:30:19 +01:00
Oliver Kleinecke
ca9c539b95 fix: improve readability of log message in read_timers_to_log function 2025-02-19 12:18:25 +01:00
Oliver Kleinecke
1160b73734 fix: simplify split_to_int_vector_ by removing delimiter parameter and using a default comma 2025-02-19 12:03:14 +01:00
Oliver Kleinecke
f01c2ff77b fix: update split_to_int_vector_ to accept delimiter by reference for improved performance 2025-02-19 12:01:14 +01:00
Oliver Kleinecke
173c06c114 fix: add <sstream> include for string stream functionality in dynamic_lamp component 2025-02-19 11:58:00 +01:00
Oliver Kleinecke
35ca6dafc0 fix: update split_to_int_vector_ to accept delimiter as a pointer for improved flexibility 2025-02-19 11:56:42 +01:00
Oliver Kleinecke
8901631602 fix: update split_to_int_vector_ to accept delimiter by reference for improved performance 2025-02-19 11:54:30 +01:00
Oliver Kleinecke
8d1d8997b9 fix: update split_to_int_vector_ signature to improve clarity and consistency 2025-02-19 11:53:01 +01:00
Oliver Kleinecke
8e9efe2a50 fix: update split_to_int_vector_ to accept string by value and improve delimiter handling 2025-02-19 11:51:48 +01:00
Oliver Kleinecke
1076cd7982 fix: refactor split_to_int_vector_ for improved token parsing and clarity 2025-02-19 11:46:20 +01:00
Oliver Kleinecke
e598375c3f fix: improve token handling in split_to_int_vector_ for better readability and maintainability 2025-02-19 11:19:08 +01:00
Oliver Kleinecke
f51f5cd70b fix: change token type in split_to_int_vector_ from string to uint8_t for improved type safety 2025-02-19 11:15:07 +01:00
Oliver Kleinecke
6fb093aa1d fix: improve token extraction in split_to_int_vector_ for better clarity and correctness 2025-02-19 11:14:16 +01:00
Oliver Kleinecke
00f88fa3f8 fix: update lamp list handling in add_timer and build_lamp_list_from_list_str_ for improved clarity and correctness 2025-02-19 11:08:55 +01:00
Oliver Kleinecke
c3a9ca8e88 fix: remove commented-out code for lamp list handling in read_timers_to_log for clarity 2025-02-19 10:58:20 +01:00
Oliver Kleinecke
799c8631b6 fix: update lamp list handling in add_timer to use std::vector<bool> and improve timer logging 2025-02-19 10:56:51 +01:00
Oliver Kleinecke
3db334d5b2 fix: change return type of build_lamp_list_from_list_str_ to std::vector<bool> and update related handling 2025-02-19 10:37:05 +01:00
Oliver Kleinecke
84694a6122 fix: rename split_to_int_array_ to split_to_int_vector_ and refactor lamp list handling for improved clarity 2025-02-19 10:29:14 +01:00
Oliver Kleinecke
063221e732 fix: correct function declaration for split_to_int_array_ in DynamicLampComponent 2025-02-18 17:12:24 +01:00
Oliver Kleinecke
05d7c119fc fix: update timer logging to use 'action' instead of 'mode' for clarity 2025-02-18 17:10:19 +01:00