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

8810 Commits

Author SHA1 Message Date
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
Oliver Kleinecke
e31f74129d fix: correct lamp index retrieval and improve timer logging in DynamicLampComponent 2025-02-18 17:05:23 +01:00
Oliver Kleinecke
7b88b8eb4f fix: streamline lamp list initialization in build_lamp_list_from_list_str_ to avoid redundant declarations 2025-02-18 16:57:52 +01:00
Oliver Kleinecke
89d6011d73 fix: initialize lamp_list to prevent returning uninitialized values in build_lamp_list_from_list_str_ 2025-02-18 16:56:23 +01:00
Oliver Kleinecke
95dfdcb176 refactor: rename methods for clarity and update timer action parameter 2025-02-18 16:54:18 +01:00
Oliver Kleinecke
48a66234d6 feat: refactor lamp handling in DynamicLampComponent to support lamp lists and improve timer functionality 2025-02-18 16:44:46 +01:00
Oliver Kleinecke
6770099099 fix: update memcpy call in add_timer method to include size for lamp_name 2025-02-18 14:53:33 +01:00
Oliver Kleinecke
04ae8a692f fix: replace pointer assignment with memcpy for lamp_name in add_timer method 2025-02-18 14:50:38 +01:00
Oliver Kleinecke
7229d44219 fix: correct pointer casting for lamp_name_buffer in add_timer method 2025-02-18 14:45:34 +01:00
Oliver Kleinecke
6022879ee6 fix: adjust type casting in add_timer method for lamp_name buffer 2025-02-18 14:44:15 +01:00
Oliver Kleinecke
6d12e72ad0 fix: update add_timer method to use unsigned char for lamp_name buffer and adjust type casting 2025-02-18 14:41:50 +01:00
Oliver Kleinecke
4401da60dd fix: update add_timer method to use char for lamp_name buffer and adjust type casting 2025-02-18 14:36:49 +01:00
Oliver Kleinecke
982aa24675 fix: update add_timer method to use unsigned char for lamp_name buffer 2025-02-18 14:32:53 +01:00
Oliver Kleinecke
5bffcee7b7 fix: update DynamicLampTimer struct to use lamp_name correctly in add_timer method 2025-02-18 14:29:26 +01:00