1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 22:58:13 +00:00

8767 Commits

Author SHA1 Message Date
Oliver Kleinecke
7d306cb5c3 fix: improve state handling in DynamicLampComponent loop for output value constraints 2025-02-15 16:31:56 +01:00
Oliver Kleinecke
ca04ade0ca feat: enhance DynamicLampComponent with state management and output updates 2025-02-15 16:21:37 +01:00
Oliver Kleinecke
7dcb0eba95 refactor: remove unnecessary noqa comment in DynamicLamp output module 2025-02-15 15:44:32 +01:00
Oliver Kleinecke
fffdcee6dd refactor: adjust formatting of DynamicLamp constructor for consistency 2025-02-15 15:30:14 +01:00
Oliver Kleinecke
7d7c844dda fix: correct namespace spelling for DynamicLamp to ensure proper functionality 2025-02-15 15:21:07 +01:00
Oliver Kleinecke
60c270476f refactor: rename DynamicLamp to DynamicLampComponent for improved clarity and consistency 2025-02-15 15:14:30 +01:00
Oliver Kleinecke
c1b5139f01 fix: update output management in DynamicLamp to use pointers for consistency 2025-02-15 14:23:58 +01:00
Oliver Kleinecke
97232448b5 feat: add begin method and output retrieval methods for DynamicLamp 2025-02-15 14:16:26 +01:00
Oliver Kleinecke
ffdcaeeb30 refactor: rename add_lamp_output to add_output_to_lamp and add remove_output_from_lamp method for improved lamp management 2025-02-15 14:14:20 +01:00
Oliver Kleinecke
d9629d8d7a fix: update add_lamp_output to use pointers for output management and rename parameter in remove_lamp method 2025-02-15 14:01:51 +01:00
Oliver Kleinecke
c36888504c fix: update add_lamp_output to use pointer for output management in DynamicLamp 2025-02-15 13:57:46 +01:00
Oliver Kleinecke
83fa338435 refactor: rename lamp management methods for consistency and clarity 2025-02-15 13:55:23 +01:00
Oliver Kleinecke
3e4e20cd52 refactor: remove unused string trimming methods from DynamicLamp 2025-02-15 13:48:52 +01:00
Oliver Kleinecke
24a5e95a66 fix: refactor add_lamp_output to use reference and add remove_lamp method for better lamp management 2025-02-15 13:47:39 +01:00
Oliver Kleinecke
92857e615e fix: move lamp initialization to dump_config for better output management in DynamicLamp 2025-02-15 13:13:17 +01:00
Oliver Kleinecke
f9b1b50cb6 fix: change log level from verbose to config for added output in DynamicLamp 2025-02-15 13:09:52 +01:00
Oliver Kleinecke
cf59fc5e01 fix: update DynamicLamp to use availability state and improve warning handling 2025-02-15 13:06:30 +01:00
Oliver Kleinecke
a0a906a97e fix: update LinkedOutput structure to track availability and usage state 2025-02-15 12:59:55 +01:00
Oliver Kleinecke
3b3449b3ec fix: add lamp index to active lamps in DynamicLamp management 2025-02-15 12:54:39 +01:00
Oliver Kleinecke
3e9710c4d6 fix: refactor DynamicLamp to improve lamp management and add name handling 2025-02-15 12:51:10 +01:00
Oliver Kleinecke
41e37fcebc fix: enhance dynamic_lamp to include output ID in available outputs and update mode naming 2025-02-15 12:31:50 +01:00
Oliver Kleinecke
cda2f9e846 fix: update output state handling in dump_config to use set_level method 2025-02-15 12:17:55 +01:00
Oliver Kleinecke
9a65c8ec35 fix: use float literal for state in dump_config output handling 2025-02-15 12:16:31 +01:00
Oliver Kleinecke
1baa4ae6d3 fix: simplify logging in dump_config and set output state for active outputs 2025-02-15 12:14:42 +01:00
Oliver Kleinecke
95bbbe20b5 fix: update output access in dump_config to use pointer for state 2025-02-15 12:12:14 +01:00
Oliver Kleinecke
ed785319a6 fix: correct output access in dump_config for available_outputs 2025-02-15 12:05:49 +01:00
Oliver Kleinecke
2eaaafc053 fix: correct syntax in add_available_output and comment out logging in add_lamp_output 2025-02-15 12:05:12 +01:00
Oliver Kleinecke
291a7bae7a fix: update logging in dump_config to include output level and improve output handling in add_available_output 2025-02-15 12:01:04 +01:00
Oliver Kleinecke
0ace2530ab fix: rename add_lamp method to add_lamp_ and update logging to use output pointer 2025-02-15 11:34:39 +01:00
Oliver Kleinecke
ff8c45a529 fix: update add_available_output method to use pointer for FloatOutput and rename add_lamp method 2025-02-15 11:31:01 +01:00
Oliver Kleinecke
dd065a12f5 fix: update to_code function in DynamicLamp to handle missing available_outputs gracefully 2025-02-15 11:23:43 +01:00
Oliver Kleinecke
224c68f1f5 fix: update to_code function in DynamicLamp to use await for get_variable calls 2025-02-15 11:21:28 +01:00
Oliver Kleinecke
afcb501b04 fix: update CONFIG_SCHEMA to use list syntax for available_outputs and improve output handling in to_code 2025-02-15 11:19:26 +01:00
Oliver Kleinecke
c952aa914a fix: refactor available_outputs handling in DynamicLamp to use add_available_output method 2025-02-15 11:08:14 +01:00
Oliver Kleinecke
4d469bd668 fix: update CONFIG_SCHEMA to ensure available_outputs uses cv.use_id for FloatOutput validation 2025-02-14 21:26:30 +01:00
Oliver Kleinecke
da1e55154c fix: update CONFIG_SCHEMA to ensure available_outputs uses correct list syntax 2025-02-14 21:24:39 +01:00
Oliver Kleinecke
87e472817a fix: update CONFIG_SCHEMA to use cv.All for available_outputs validation 2025-02-14 21:21:37 +01:00
Oliver Kleinecke
36f15817a0 fix: update CONFIG_SCHEMA to remove unnecessary cv.All for available_outputs validation 2025-02-14 20:18:43 +01:00
Oliver Kleinecke
3d6394682e fix: update set_available_outputs method to use pointer type for FloatOutput 2025-02-14 20:07:03 +01:00
Oliver Kleinecke
aa1e2d3cfe fix: update CONFIG_SCHEMA to ensure available_outputs is a list for validation 2025-02-14 20:04:41 +01:00
Oliver Kleinecke
a48f4d7f78 fix: remove unnecessary noqa comment from dynamic_lamp component 2025-02-14 20:01:31 +01:00
Oliver Kleinecke
cf955812dd fix: update CONFIG_SCHEMA to use cv.All for available_outputs validation 2025-02-14 20:00:49 +01:00
Oliver Kleinecke
e1c8287504 fix: update CONFIG_SCHEMA to simplify available_outputs validation by removing voluptuous 2025-02-14 19:58:30 +01:00
Oliver Kleinecke
4f6df9a3af fix: update CONFIG_SCHEMA to use voluptuous for available_outputs validation 2025-02-14 19:54:32 +01:00
Oliver Kleinecke
90bdf6ce6b fix: update CONFIG_SCHEMA to use cv.All for available_outputs validation 2025-02-14 19:52:26 +01:00
Oliver Kleinecke
90c4b403ba fix: update CONFIG_SCHEMA to ensure available_outputs uses a list of FloatOutput for improved validation 2025-02-14 19:50:37 +01:00
Oliver Kleinecke
215f56c47f fix: update set_available_outputs method to accept a list of FloatOutput for improved output handling 2025-02-14 19:43:59 +01:00
Oliver Kleinecke
37bc7a3b5d fix: update CONFIG_SCHEMA to ensure available_outputs use FloatOutput IDs 2025-02-14 19:32:17 +01:00
Oliver Kleinecke
12181dd75c fix: remove unnecessary includes in dynamic_lamp.h for cleaner code 2025-02-14 18:05:39 +01:00
Oliver Kleinecke
55755f4849 fix: include necessary headers in dynamic_lamp.cpp and dynamic_lamp.h for improved functionality 2025-02-14 18:01:58 +01:00