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

8810 Commits

Author SHA1 Message Date
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
Oliver Kleinecke
12d26e8c06 fix: update add_lamp_output_ method to be a member of DynamicLamp class 2025-02-14 16:08:00 +01:00
Oliver Kleinecke
79d41fc9e1 fix: update LinkedOutput structure to include output_index and adjust usage in DynamicLamp 2025-02-14 16:06:06 +01:00
Oliver Kleinecke
47252ca067 fix: update output logging to use active status and output_id in DynamicLamp 2025-02-14 15:56:45 +01:00
Oliver Kleinecke
43b4fedb78 fix: correct array declaration for used_outputs in CombinedLamp struct 2025-02-14 15:41:10 +01:00
Oliver Kleinecke
8de13bda8f feat: add lamp output management and index retrieval in DynamicLamp 2025-02-14 15:38:01 +01:00
Oliver Kleinecke
1a73a7de01 refactor: update available_outputs to use LinkedOutput struct in DynamicLamp 2025-02-14 15:17:15 +01:00
Oliver Kleinecke
40bf321ce0 fix: use instance methods for string trimming in DynamicLamp 2025-02-14 15:01:42 +01:00
Oliver Kleinecke
fb993828cc fix: correct stringview to string_view in dynamic_lamp component 2025-02-14 15:00:01 +01:00
Oliver Kleinecke
e487fd4e42 fix: cast trimmed output to std::string in set_available_outputs() 2025-02-14 14:57:30 +01:00
Oliver Kleinecke
8d0185aafe refactor: replace boost::algorithm::trim with custom string trimming methods 2025-02-14 14:55:50 +01:00
Oliver Kleinecke
b8c389829d use boost::algorithm::trim to clean output list strings in set_available_outputs() 2025-02-14 14:49:56 +01:00
Oliver Kleinecke
ee6564ef02 add regex include to dynamic_lamp.cpp 2025-02-14 14:43:26 +01:00
Oliver Kleinecke
07752ad6fc trim whitespace from output list strings in set_available_outputs() 2025-02-14 14:36:53 +01:00
Oliver Kleinecke
d86e76ab11 fix logging output in DynamicLamp::dump_config() to use c_str() directly for string conversion 2025-02-14 14:29:46 +01:00
Oliver Kleinecke
358c467a98 fix logging output in dump_config() to use c_str() for string conversion 2025-02-14 14:27:18 +01:00
Oliver Kleinecke
4bd04442a0 test commit for separating string by comma 2025-02-14 14:21:52 +01:00
Oliver Kleinecke
c7db36b503 fix missing list include and wrong output_id type declaration 2025-02-14 14:04:40 +01:00
Oliver Kleinecke
2068234c90 add required option for available outputs 2025-02-14 13:58:36 +01:00
Oliver Kleinecke
8a2e6751e5 fix missing break in switch case of dump_config() 2025-02-14 12:35:26 +01:00
Oliver Kleinecke
b382e77d3c add save_mode optional config, defaulting to 0 2025-02-14 12:28:26 +01:00
Oliver Kleinecke
c841ae4fcc add initial test of dynamic lamp component 2025-02-14 11:43:47 +01:00
Jesse Hills
b3ad6a03e6
Merge branch 'beta' into dev 2025-02-14 16:47:17 +13:00
Jesse Hills
6e45a7c9af
Merge pull request #8251 from esphome/bump-2025.2.0b3
2025.2.0b3
2025.2.0b3
2025-02-14 16:43:58 +13:00
Jesse Hills
e17582544e
Bump version to 2025.2.0b3 2025-02-14 14:28:42 +13:00
Jesse Hills
daa7960031
Fix crash when storage file doesnt exist yet (#8249) 2025-02-14 14:28:41 +13:00
Dániel Márai
6999cc0581
Add support for the DAC on the S2 (#8030)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-02-14 14:28:41 +13:00
Jonathan Swoboda
92ad6286aa
[logger] Fix bug causing global log level to be overwritten (#8248) 2025-02-14 14:28:41 +13:00
guillempages
1111aa167f
[online_image]Fix reset if buffer not allocated (#8236) 2025-02-14 14:28:41 +13:00
Jesse Hills
143b0d3de4
Fix crash when storage file doesnt exist yet (#8249) 2025-02-14 14:27:11 +13:00
Dániel Márai
788c41e6f4
Add support for the DAC on the S2 (#8030)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-02-14 13:15:01 +13:00
Jonathan Swoboda
46b6dcdfbf
[logger] Fix bug causing global log level to be overwritten (#8248) 2025-02-13 19:56:08 +00:00
Oliver Kleinecke
bbdc9c52ba
Merge branch 'esphome:dev' into dev 2025-02-13 20:22:38 +01:00
Jesse Hills
d05f641dd0
Merge branch 'beta' into dev 2025-02-13 21:31:40 +13:00
Jesse Hills
897873496a
Merge pull request #8246 from esphome/bump-2025.2.0b2
2025.2.0b2
2025.2.0b2
2025-02-13 21:31:05 +13:00