1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 14:13:51 +00:00
Commit Graph

10969 Commits

Author SHA1 Message Date
J. Nick Koston
0d256e12a6 [climate] Remove redundant initializer_list overloads from haier and midea
EnumBitmask and std::vector already handle initializer_list via
implicit conversion, so explicit overloads are unnecessary.
2025-10-21 22:37:48 -10:00
J. Nick Koston
0ad42ec79b minimize changes 2025-10-21 22:37:19 -10:00
J. Nick Koston
1eca67bb4c [climate] Remove redundant initializer_list overloads
EnumBitmask already has a constructor that takes initializer_list,
so the explicit overloads are unnecessary and add code duplication.
2025-10-21 22:36:33 -10:00
J. Nick Koston
d8e8c2832e minimize changes 2025-10-21 22:34:58 -10:00
J. Nick Koston
55d1b823e8 minimize changes 2025-10-21 22:34:45 -10:00
J. Nick Koston
2debf04a48 [climate] Use std::set API for EnumBitmask
- Change .add() to .insert()
- Change .remove() to .erase()
- Change .contains() to .count() > 0
- Consistent with std::set API
2025-10-21 22:32:58 -10:00
J. Nick Koston
e9e6b9ddf9 minimize changes 2025-10-21 22:32:36 -10:00
J. Nick Koston
7eff1c31fd adjust 2025-10-21 22:30:27 -10:00
J. Nick Koston
9d1ceba18f [core] Use std::set API for EnumBitmask
- Replace .contains()/.add()/.remove() with .count()/.insert()/.erase()
- Makes EnumBitmask a true drop-in replacement for std::set
- Update all usages in light component
2025-10-21 22:28:59 -10:00
J. Nick Koston
f8f967b25c wi 2025-10-21 22:25:57 -10:00
J. Nick Koston
1119b4e11e [core] Add std::set compatibility aliases to EnumBitmask
- Add insert() as alias for add()
- Add erase() as alias for remove()
- Add count() as alias for contains()
- Makes EnumBitmask a true drop-in replacement for std::set
- Update documentation to reflect compatibility
2025-10-21 22:23:37 -10:00
J. Nick Koston
c6711fc354 adjust 2025-10-21 22:19:07 -10:00
J. Nick Koston
8fd3719f38 merge 2025-10-21 22:10:09 -10:00
Jeff Brown
e2b3617df3 [climate] Fix restore state for fan mode, preset, and swing mode (#11126)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2025-10-21 22:08:40 -10:00
J. Nick Koston
15d4e30df2 merge 2025-10-21 22:04:46 -10:00
J. Nick Koston
960e6da4f7 [gree] Use EnumBitmask add() instead of insert() for climate traits 2025-10-21 22:02:53 -10:00
J. Nick Koston
4dba685898 merge 2025-10-21 22:01:39 -10:00
J. Nick Koston
379d76b397 Merge branch 'enum_mask_helper' into climate_overhead 2025-10-21 22:01:27 -10:00
J. Nick Koston
777e73fd04 Extract ColorModeMask into EnumBitmask helper 2025-10-21 21:54:44 -10:00
J. Nick Koston
e1c851cab8 [wifi] Optimize WiFi network storage with FixedVector (#11458)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-10-22 05:23:10 +00:00
J. Nick Koston
146b067d62 [light] Add compile test for addressable lights (#11465) 2025-10-22 16:59:39 +13:00
J. Nick Koston
5b15827009 [CI] Fix component detection when core files change in determine-jobs (#11461) 2025-10-22 16:58:40 +13:00
J. Nick Koston
0de79ba291 [event] Replace std::set with FixedVector for event type storage (#11463) 2025-10-22 16:57:18 +13:00
J. Nick Koston
e3aaf6a144 [wifi] Test multiple stas in wifi compile tests (#11460) 2025-10-22 16:55:46 +13:00
J. Nick Koston
78ffeb30fb [binary_sensor] Optimize MultiClickTrigger with FixedVector (#11453)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-10-22 16:55:13 +13:00
J. Nick Koston
d3927fe33f fix compile 2025-10-21 17:35:24 -10:00
J. Nick Koston
f7a4578390 fix compile 2025-10-21 17:27:01 -10:00
J. Nick Koston
f3bf25d203 fix compile 2025-10-21 17:25:20 -10:00
J. Nick Koston
bbce28c18d fix compile 2025-10-21 17:21:59 -10:00
J. Nick Koston
dfa51a5137 merge 2025-10-21 17:16:04 -10:00
J. Nick Koston
a59fdd8e04 wip 2025-10-21 16:58:15 -10:00
J. Nick Koston
bc296d05fb wip 2025-10-21 16:57:18 -10:00
Jesse Hills
2c1927fd12 [api] Allow clearing noise psk if dynamically set (#11429) 2025-10-22 14:24:56 +13:00
Jesse Hills
c6ae1a5909 [core] Stop clang-format "fixing" a single line (#11462) 2025-10-22 01:00:27 +00:00
J. Nick Koston
9c712744be [light] Replace std::vector with FixedVector in strobe and color_wipe effects (#11455) 2025-10-22 11:40:19 +13:00
Javier Peletier
ae50a09b4e C++ components unit test framework (#9284)
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-10-21 22:21:22 +00:00
Jeff Brown
1ea80594c6 [light] Improve gamma correction precision (#11141)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
2025-10-21 22:11:11 +00:00
J. Nick Koston
8500323d39 [esp32] Add advanced options to disable unused VFS features (saves ~8.7 KB flash) (#11441) 2025-10-22 10:47:31 +13:00
J. Nick Koston
6f7db2f5f7 [gpio] Optimize switch interlock with FixedVector (#11448)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-10-21 11:35:34 -10:00
J. Nick Koston
9922c65912 Add compile tests for binary_sensor MultiClickTrigger (#11454)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2025-10-22 10:32:48 +13:00
J. Nick Koston
f2469077d9 [light] Add tests for AddressableColorWipeEffectColor/StrobeLightEffectColor (#11456) 2025-10-22 10:31:18 +13:00
Jesse Hills
742eca92d8 [CI] Add auto label for chained PRs (#11457) 2025-10-21 11:22:56 -10:00
J. Nick Koston
548913b471 Add gpio switch interlock compile tests (#11449) 2025-10-22 10:12:32 +13:00
Anton Sergunov
a05c5ea240 [uart] Make rx pin respect pullup and pulldown settings (#9248) 2025-10-22 10:10:25 +13:00
Jeff Brown
8e8a2bde95 [light] Decouple AddressableLight and Light transition classes (#11166)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-10-21 10:37:29 -10:00
Petr Kejval
80265a6bd2 [sensor] Add optimistic option to heartbeat filter (#10993)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-10-21 09:17:07 -04:00
J. Nick Koston
87e9a7a1bd [climate] Remove unnecessary vector allocations in state save/restore (#11445) 2025-10-21 04:35:18 -05:00
J. Nick Koston
3aedfe8be3 [binary_sensor] Optimize AutorepeatFilter with FixedVector (#11444) 2025-10-21 04:30:13 -05:00
J. Nick Koston
7f2cc47ed6 [binary_sensor] Add compile test for auto repeat (#11443) 2025-10-21 04:25:59 -05:00
J. Nick Koston
a5542e0d2b [sensor] Optimize calibration and Or filters with FixedVector (#11437) 2025-10-20 21:38:05 -10:00