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

8844 Commits

Author SHA1 Message Date
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
Oliver Kleinecke
0d1456548e fix: include main.h in dynamic_lamp.cpp for improved functionality 2025-02-14 17:55:18 +01:00
Oliver Kleinecke
432b6c2405 fix: update output level assignment in add_lamp_output_ method for clarity 2025-02-14 17:49:58 +01:00
Oliver Kleinecke
57632601b0 fix: update output_id reference to use esphome::id and improve logging in add_lamp_output_ method 2025-02-14 17:40:42 +01:00
Oliver Kleinecke
b80a4604be fix: update output level type to float and adjust logging format in add_lamp_output_ method 2025-02-14 17:37:34 +01:00
Oliver Kleinecke
4f6f214a2e fix: log output state when adding output to lamp in add_lamp_output_ method 2025-02-14 17:36:01 +01:00
Oliver Kleinecke
45502e1c9b fix: simplify input_id initialization and improve readability in set_available_outputs method 2025-02-14 17:20:54 +01:00
Oliver Kleinecke
89474a45d4 fix: update output_id logging to use c_str() and simplify input_id initialization in set_available_outputs method 2025-02-14 17:18:07 +01:00
Oliver Kleinecke
777814b865 fix: update input_id initialization to use c_str() and correct return statement in set_available_outputs method 2025-02-14 17:15:46 +01:00
Oliver Kleinecke
adddc301df fix: simplify input_id initialization by using trim_ directly on string 2025-02-14 17:13:08 +01:00
Oliver Kleinecke
0b28f0acad fix: use static_cast for input_id initialization in set_available_outputs method 2025-02-14 17:09:14 +01:00
Oliver Kleinecke
d9b2ba937b fix: use uniform initialization for input_id in set_available_outputs method 2025-02-14 17:06:57 +01:00
Oliver Kleinecke
d29b8f8948 fix: store trimmed output as a string in available_outputs in set_available_outputs method 2025-02-14 17:04:03 +01:00
Oliver Kleinecke
78ec5d50ce fix: update LinkedOutput initialization to use c_str() in set_available_outputs method 2025-02-14 17:02:54 +01:00
Oliver Kleinecke
4cc21d6ed1 fix: optimize LinkedOutput initialization in set_available_outputs method 2025-02-14 17:01:49 +01:00
Oliver Kleinecke
f3fb868829 fix: simplify LinkedOutput initialization in set_available_outputs method 2025-02-14 16:56:50 +01:00
Oliver Kleinecke
0aeb2f91c6 fix: replace error call with mark_failed in add_lamp method 2025-02-14 16:52:25 +01:00
Oliver Kleinecke
bb47118762 fix: update LinkedOutput initialization to use std::string directly in set_available_outputs 2025-02-14 16:47:49 +01:00
Oliver Kleinecke
b5c6b710a3 fix: add error handling for lamp addition in DynamicLamp 2025-02-14 16:46:10 +01:00
Oliver Kleinecke
3ebbdf88c5 fix: change counter type to uint8_t and update get_lamp_outputs_ to use active_lamps_ member 2025-02-14 16:41:43 +01:00
Oliver Kleinecke
3f064c4afe fix: correct output mode reference and improve LinkedOutput initialization in DynamicLamp 2025-02-14 16:39:27 +01:00
Oliver Kleinecke
19981c437b fix: update get_lamp_outputs_ method to return std::array instead of bool array 2025-02-14 16:28:00 +01:00
Oliver Kleinecke
c805d45ed8 feat: implement add_lamp method to manage active lamps in DynamicLamp 2025-02-14 16:22:52 +01:00
Oliver Kleinecke
0ca28d4597 feat: add get_lamp_outputs_ method to retrieve used outputs for a specific lamp 2025-02-14 16:09:30 +01:00