1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-05 01:21:50 +00:00

Compare commits

..

889 Commits

Author SHA1 Message Date
J. Nick Koston
25147920a5 Merge branch 'memory_api' into memory_api_action_chaining_const_ref 2025-11-04 08:34:51 -06:00
J. Nick Koston
cd3558623b Merge branch 'integration' into memory_api 2025-11-04 08:34:32 -06:00
J. Nick Koston
67c57aa5ed Merge branch 'memory_api' into memory_api_action_chaining_const_ref 2025-11-03 22:43:37 -06:00
J. Nick Koston
4ae36c0b59 Merge branch 'integration' into memory_api 2025-11-03 22:30:16 -06:00
J. Nick Koston
beca5901ec Merge branch 'integration' into memory_api 2025-11-03 22:27:11 -06:00
J. Nick Koston
2ee409d799 Merge branch 'integration' into memory_api 2025-11-03 21:33:39 -06:00
J. Nick Koston
ba2e8759e5 Merge branch 'action_chaining_const_ref' into memory_api_action_chaining_const_ref 2025-11-03 21:04:56 -06:00
J. Nick Koston
60d309b97a Merge branch 'integration' into memory_api 2025-11-03 21:03:49 -06:00
J. Nick Koston
9a9fecfedf missed some 2025-11-03 19:29:35 -06:00
J. Nick Koston
0fc7912171 missed some 2025-11-03 19:28:07 -06:00
J. Nick Koston
3a191e571b fix new code 2025-11-03 18:37:03 -06:00
J. Nick Koston
025e9d4ae2 remove some now useless moves 2025-11-03 18:08:36 -06:00
J. Nick Koston
4ecab07562 [core] Reduce action framework argument copies by 83% 2025-11-03 17:49:11 -06:00
J. Nick Koston
38fe47b554 Merge branch 'dev' into action_chaining 2025-11-03 17:45:59 -06:00
J. Nick Koston
772c3b250e Merge branch 'integration' into memory_api 2025-11-03 16:36:17 -06:00
J. Nick Koston
b294dbd547 Merge branch 'integration' into memory_api 2025-11-03 15:01:06 -06:00
J. Nick Koston
2dc798f490 Merge branch 'integration' into memory_api 2025-11-02 23:20:42 -06:00
J. Nick Koston
a136501c63 Merge branch 'integration' into memory_api 2025-11-02 22:44:43 -06:00
J. Nick Koston
244716a05b Merge branch 'integration' into memory_api 2025-11-02 22:08:11 -06:00
J. Nick Koston
6aa4485baf Merge branch 'integration' into memory_api 2025-11-02 20:22:59 -06:00
J. Nick Koston
a436937b7d Merge branch 'integration' into memory_api 2025-11-02 20:22:20 -06:00
J. Nick Koston
5e70dd76bf Merge branch 'integration' into memory_api 2025-11-02 19:45:11 -06:00
J. Nick Koston
738cf4cace Merge branch 'dev' into action_chaining 2025-11-02 19:09:44 -06:00
Jesse Hills
0a01fde503 Merge branch 'dev' into action_chaining 2025-11-03 14:07:15 +13:00
J. Nick Koston
b4bebe0d44 Merge branch 'integration' into memory_api 2025-11-02 18:53:51 -06:00
J. Nick Koston
da53a13086 remove cruft 2025-11-02 18:17:39 -06:00
J. Nick Koston
7d0a04bac7 Merge branch 'integration' into memory_api 2025-11-02 17:59:04 -06:00
J. Nick Koston
1704e8dd69 Merge branch 'integration' into memory_api 2025-11-01 21:57:55 -05:00
J. Nick Koston
82964576f0 Merge branch 'integration' into memory_api 2025-11-01 16:58:54 -05:00
J. Nick Koston
e370dd0a14 Merge branch 'integration' into memory_api 2025-11-01 15:27:06 -05:00
J. Nick Koston
90fada3de9 Merge branch 'integration' into memory_api 2025-11-01 13:23:08 -05:00
J. Nick Koston
a6b64db51a Merge branch 'integration' into memory_api 2025-11-01 13:05:01 -05:00
J. Nick Koston
e567cb9658 tests 2025-11-01 12:47:54 -05:00
J. Nick Koston
7714f71d5c Merge branch 'integration' into memory_api 2025-11-01 12:42:49 -05:00
J. Nick Koston
3c5e702c84 Merge branch 'integration' into memory_api 2025-11-01 12:12:06 -05:00
J. Nick Koston
806f033800 Merge branch 'integration' into memory_api 2025-11-01 00:21:00 -05:00
J. Nick Koston
0dabd8d392 Merge branch 'integration' into memory_api 2025-10-31 23:28:44 -05:00
J. Nick Koston
2816aa6574 Merge branch 'integration' into memory_api 2025-10-31 22:56:48 -05:00
J. Nick Koston
1e470b3018 Merge branch 'integration' into memory_api 2025-10-31 22:27:49 -05:00
J. Nick Koston
07d00d5061 Merge branch 'integration' into memory_api 2025-10-31 22:22:46 -05:00
J. Nick Koston
95c4bb62d0 Merge branch 'integration' into memory_api 2025-10-31 15:21:21 -05:00
J. Nick Koston
1704752aef Merge branch 'integration' into memory_api 2025-10-31 14:39:18 -05:00
J. Nick Koston
62569c9770 Merge branch 'integration' into memory_api 2025-10-30 21:22:21 -05:00
J. Nick Koston
9753bd8b8a Merge branch 'integration' into memory_api 2025-10-30 18:06:24 -05:00
J. Nick Koston
c544b8258f Merge branch 'integration' into memory_api 2025-10-30 15:40:27 -05:00
J. Nick Koston
f7d3a8eab4 Merge branch 'integration' into memory_api 2025-10-30 15:38:59 -05:00
J. Nick Koston
b28dc7218d Merge branch 'integration' into memory_api 2025-10-30 15:33:37 -05:00
J. Nick Koston
c191405b6d preen 2025-10-30 15:33:07 -05:00
J. Nick Koston
74a9445eff Merge branch 'integration' into memory_api 2025-10-30 15:27:58 -05:00
J. Nick Koston
94207cb956 Merge branch 'integration' into memory_api 2025-10-30 15:24:18 -05:00
J. Nick Koston
04db4b821d Merge branch 'integration' into memory_api 2025-10-30 15:21:18 -05:00
J. Nick Koston
028d16d64e Merge branch 'integration' into memory_api 2025-10-30 14:31:21 -05:00
J. Nick Koston
90a6771f4b Merge branch 'integration' into memory_api 2025-10-30 14:28:26 -05:00
J. Nick Koston
be12da5690 Merge branch 'integration' into memory_api 2025-10-30 14:26:55 -05:00
J. Nick Koston
fad0e55dcc Merge branch 'integration' into memory_api 2025-10-30 14:20:58 -05:00
J. Nick Koston
400e64906b Merge branch 'integration' into memory_api 2025-10-30 14:19:18 -05:00
J. Nick Koston
4913351540 Merge branch 'integration' into memory_api 2025-10-30 14:17:17 -05:00
J. Nick Koston
9c9d6e61bb break it out, logic was too hard to follow 2025-10-30 14:16:43 -05:00
J. Nick Koston
a2e83d9018 Merge branch 'integration' into memory_api 2025-10-30 14:08:10 -05:00
J. Nick Koston
16b9eecbcd Merge branch 'integration' into memory_api 2025-10-30 13:40:47 -05:00
J. Nick Koston
7acc39abc8 Merge branch 'integration' into memory_api 2025-10-30 13:35:47 -05:00
J. Nick Koston
edc21fe41e Merge branch 'integration' into memory_api 2025-10-30 13:34:01 -05:00
J. Nick Koston
dcc7dbb9e1 Merge branch 'integration' into memory_api 2025-10-30 13:28:52 -05:00
J. Nick Koston
27cef4d250 Merge branch 'integration' into memory_api 2025-10-30 13:26:48 -05:00
J. Nick Koston
16f298896d Merge branch 'integration' into memory_api 2025-10-30 13:20:50 -05:00
J. Nick Koston
6f8842c170 Merge branch 'integration' into memory_api 2025-10-30 11:03:06 -05:00
J. Nick Koston
a9b66ff943 Merge branch 'integration' into memory_api 2025-10-29 22:01:37 -05:00
J. Nick Koston
932e19d9a1 Merge branch 'integration' into memory_api 2025-10-29 18:13:22 -05:00
J. Nick Koston
41abb8f9a5 Merge branch 'integration' into memory_api 2025-10-29 18:12:25 -05:00
J. Nick Koston
6e259c2dbb update cover 2025-10-29 18:08:04 -05:00
J. Nick Koston
80ed3a6f66 Merge branch 'integration' into memory_api 2025-10-29 18:05:32 -05:00
J. Nick Koston
36e859be37 Merge branch 'integration' into memory_api 2025-10-29 17:58:04 -05:00
J. Nick Koston
30e6d7a3c8 remove enable_loops, not needed since setup runs after setters, since setters are called in main setup() before component setup() 2025-10-29 16:53:13 -05:00
J. Nick Koston
97f53765b5 Merge branch 'integration' into memory_api 2025-10-29 16:49:55 -05:00
J. Nick Koston
931f52cb7b Merge branch 'integration' into memory_api 2025-10-29 16:24:12 -05:00
J. Nick Koston
b1dffcc921 Merge branch 'integration' into memory_api 2025-10-29 15:06:46 -05:00
J. Nick Koston
d8da806bab tidy 2025-10-29 15:06:08 -05:00
J. Nick Koston
d900b84e55 Merge branch 'integration' into memory_api 2025-10-29 14:59:47 -05:00
J. Nick Koston
6e1dace240 Merge branch 'integration' into memory_api 2025-10-29 00:03:57 -05:00
J. Nick Koston
5e6baba76c Merge branch 'integration' into memory_api 2025-10-28 23:43:01 -05:00
J. Nick Koston
a63b04fc0d Merge branch 'integration' into memory_api 2025-10-28 23:29:03 -05:00
J. Nick Koston
c7904e845e Merge branch 'integration' into memory_api 2025-10-28 21:16:45 -05:00
J. Nick Koston
df56346fb6 Merge branch 'integration' into memory_api 2025-10-28 14:19:22 -05:00
J. Nick Koston
c34872f923 Merge branch 'integration' into memory_api 2025-10-28 10:59:06 -05:00
J. Nick Koston
4a51486979 Merge branch 'integration' into memory_api 2025-10-27 22:06:38 -05:00
J. Nick Koston
b4be5e7996 Merge branch 'integration' into memory_api 2025-10-27 19:37:39 -05:00
J. Nick Koston
0ada17356c Merge branch 'integration' into memory_api 2025-10-27 19:15:28 -05:00
J. Nick Koston
71ccbd8212 Merge branch 'integration' into memory_api 2025-10-27 14:41:55 -05:00
J. Nick Koston
c5ef520b99 Merge branch 'integration' into memory_api 2025-10-27 12:05:52 -05:00
J. Nick Koston
1d885ca6aa Merge branch 'integration' into memory_api 2025-10-27 11:59:01 -05:00
J. Nick Koston
1b25144bd7 Merge branch 'integration' into memory_api 2025-10-27 11:24:19 -05:00
J. Nick Koston
0a47f7dfb5 Merge branch 'integration' into memory_api 2025-10-27 11:23:34 -05:00
J. Nick Koston
3389b92255 Merge branch 'template_lambdas_m' into memory_api 2025-10-26 19:43:32 -05:00
J. Nick Koston
05929c6248 Merge branch 'integration' into memory_api 2025-10-26 12:28:40 -07:00
J. Nick Koston
5ba7981c27 Merge branch 'integration' into memory_api 2025-10-26 12:24:41 -07:00
J. Nick Koston
c9178b8026 Merge branch 'integration' into memory_api 2025-10-26 12:19:54 -07:00
J. Nick Koston
f8661300f5 Merge branch 'integration' into memory_api 2025-10-26 09:41:42 -07:00
J. Nick Koston
beace82816 over engineered 2025-10-26 09:32:43 -07:00
J. Nick Koston
802b866d25 Merge branch 'integration' into memory_api 2025-10-26 01:31:20 -07:00
J. Nick Koston
c168766832 Merge branch 'integration' into memory_api 2025-10-26 01:05:16 -07:00
J. Nick Koston
cb0052f974 Merge branch 'integration' into memory_api 2025-10-25 19:12:40 -07:00
J. Nick Koston
d8d6560acb Merge branch 'integration' into memory_api 2025-10-25 16:50:05 -07:00
J. Nick Koston
892aa61e79 Merge branch 'integration' into memory_api 2025-10-25 16:48:51 -07:00
J. Nick Koston
a00c9a6861 Merge branch 'integration' into memory_api 2025-10-25 15:05:27 -07:00
J. Nick Koston
4f24448709 Merge branch 'integration' into memory_api 2025-10-25 15:03:11 -07:00
J. Nick Koston
052f6e6f0f Merge branch 'integration' into memory_api 2025-10-25 14:59:11 -07:00
J. Nick Koston
d653aa3203 fix off by one 2025-10-25 14:53:38 -07:00
J. Nick Koston
177bdabd38 Merge branch 'integration' into memory_api 2025-10-25 14:44:50 -07:00
J. Nick Koston
4c08a7b86a fix race. 2025-10-25 14:44:25 -07:00
J. Nick Koston
77053c4ffa Merge branch 'integration' into memory_api 2025-10-25 14:39:45 -07:00
J. Nick Koston
e2a71b2ea1 Merge branch 'integration' into memory_api 2025-10-25 14:21:17 -07:00
J. Nick Koston
1531b3c0d2 Merge branch 'integration' into memory_api 2025-10-25 14:12:28 -07:00
J. Nick Koston
6ad33a5a52 Merge branch 'integration' into memory_api 2025-10-25 13:46:41 -07:00
J. Nick Koston
82d76dc7a1 Merge branch 'integration' into memory_api 2025-10-25 11:37:48 -07:00
J. Nick Koston
1b529c2f74 Merge branch 'strftime_overkill' into memory_api 2025-10-25 11:24:09 -07:00
J. Nick Koston
4375d8ae61 Merge branch 'integration' into memory_api 2025-10-25 11:04:19 -07:00
J. Nick Koston
8ea1351285 Merge branch 'integration' into memory_api 2025-10-25 10:51:57 -07:00
J. Nick Koston
2fa5ed6029 Merge branch 'integration' into memory_api 2025-10-25 10:42:38 -07:00
J. Nick Koston
386c989b45 Merge branch 'integration' into memory_api 2025-10-25 10:31:45 -07:00
J. Nick Koston
075efbb216 Merge branch 'integration' into memory_api 2025-10-25 00:28:23 -07:00
J. Nick Koston
b62f620b57 Merge branch 'integration' into memory_api 2025-10-25 00:25:55 -07:00
J. Nick Koston
78585ca3f9 Merge branch 'integration' into memory_api 2025-10-24 17:32:52 -07:00
J. Nick Koston
7dd1071026 cleanup 2025-10-24 17:30:04 -07:00
J. Nick Koston
9a44f8c14d Merge branch 'integration' into memory_api 2025-10-24 14:39:17 -07:00
J. Nick Koston
2b75eca91f Merge branch 'integration' into memory_api 2025-10-24 14:31:46 -07:00
J. Nick Koston
3b750adf29 Merge branch 'integration' into memory_api 2025-10-24 13:41:24 -07:00
J. Nick Koston
2e1c8a114a touch ups 2025-10-24 09:33:38 -07:00
J. Nick Koston
2df6a8aa9e Merge branch 'integration' into memory_api 2025-10-24 07:29:26 -07:00
J. Nick Koston
a061af8d73 Merge branch 'integration' into memory_api 2025-10-23 22:32:17 -07:00
J. Nick Koston
dadf037037 Merge branch 'integration' into memory_api 2025-10-23 11:29:47 -07:00
J. Nick Koston
ba3fd5fdb5 Merge branch 'integration' into memory_api 2025-10-22 19:50:57 -10:00
J. Nick Koston
6a009d0945 Merge branch 'integration' into memory_api 2025-10-22 19:21:09 -10:00
J. Nick Koston
f66a526d2e [http_request] Pass collect_headers by const reference instead of by value 2025-10-22 19:00:58 -10:00
J. Nick Koston
af428fd7c5 Merge remote-tracking branch 'origin/memory_api' into memory_api 2025-10-22 16:26:03 -10:00
J. Nick Koston
d434f0c641 Merge branch 'integration' into memory_api 2025-10-22 16:25:47 -10:00
J. Nick Koston
87c630cf45 Merge branch 'memory_api' of https://github.com/esphome/esphome into memory_api 2025-10-22 16:14:53 -10:00
J. Nick Koston
fe7ebbc33e Merge branch 'integration' into memory_api 2025-10-22 16:14:46 -10:00
J. Nick Koston
7a033edbc2 Merge branch 'integration' into memory_api 2025-10-22 15:17:38 -10:00
J. Nick Koston
48643cd2de Merge branch 'integration' into memory_api 2025-10-22 15:09:10 -10:00
J. Nick Koston
ae41ae80ca Fix light_call.cpp to use first_value_from_mask instead of first_mode_from_mask
The generic FiniteSetMask uses first_value_from_mask, not first_mode_from_mask.
This aligns with the enum_mask_helper implementation.
2025-10-22 14:33:48 -10:00
J. Nick Koston
d8cb5d4aa4 Fix light_traits.h to use correct FiniteSetMask API
- Use count() instead of contains() (std::set compatible API)
- Use has_capability() free function instead of method
- Matches enum_mask_helper implementation
2025-10-22 14:33:02 -10:00
J. Nick Koston
416ce17c92 Merge branch 'climate_overhead' into memory_api 2025-10-22 14:31:45 -10:00
J. Nick Koston
4d86bbda79 Merge branch 'integration' into memory_api 2025-10-22 14:23:17 -10:00
J. Nick Koston
cdbf9682b1 Merge branch 'integration' into memory_api 2025-10-22 14:12:29 -10:00
J. Nick Koston
42a7385f98 Merge branch 'integration' into memory_api 2025-10-22 12:32:37 -10:00
J. Nick Koston
e822aa1e3d Merge branch 'integration' into memory_api 2025-10-22 12:14:08 -10:00
J. Nick Koston
771501ccbb Merge branch 'integration' into memory_api 2025-10-22 10:13:54 -10:00
J. Nick Koston
4c6cd05b7b Merge branch 'integration' into memory_api 2025-10-22 10:08:53 -10:00
J. Nick Koston
349dc7227e Merge branch 'integration' into memory_api 2025-10-22 09:59:39 -10:00
J. Nick Koston
0d2eb794c7 Merge branch 'integration' into memory_api 2025-10-21 23:57:40 -10:00
J. Nick Koston
46afd21738 Merge branch 'integration' into memory_api 2025-10-21 15:58:37 -10:00
J. Nick Koston
f562454f8e Merge branch 'integration' into memory_api 2025-10-21 14:17:00 -10:00
J. Nick Koston
033325d354 Merge branch 'integration' into memory_api 2025-10-21 13:45:01 -10:00
J. Nick Koston
0bde964441 Merge branch 'integration' into memory_api 2025-10-21 13:12:20 -10:00
J. Nick Koston
fead1a8c22 Merge branch 'integration' into memory_api 2025-10-21 11:16:06 -10:00
J. Nick Koston
c47d9345ea Merge branch 'integration' into memory_api 2025-10-20 23:38:37 -10:00
J. Nick Koston
811cd4582e Merge branch 'integration' into memory_api 2025-10-20 22:49:57 -10:00
J. Nick Koston
c2c55ac648 Merge branch 'integration' into memory_api 2025-10-20 22:23:39 -10:00
J. Nick Koston
375adbb86f [binary_sensor] Optimize AutorepeatFilter with FixedVector 2025-10-20 22:09:22 -10:00
J. Nick Koston
5b13814a9e Merge branch 'integration' into memory_api 2025-10-20 21:58:42 -10:00
J. Nick Koston
110f23caff fix 2025-10-20 21:34:14 -10:00
J. Nick Koston
faff196f1b Merge branch 'integration' into memory_api 2025-10-20 21:25:34 -10:00
J. Nick Koston
888db4c784 Merge branch 'integration' into memory_api 2025-10-20 20:59:26 -10:00
J. Nick Koston
45460c3165 Merge branch 'integration' into memory_api 2025-10-20 20:25:25 -10:00
J. Nick Koston
b9efaabdf0 more cleanup 2025-10-20 20:15:12 -10:00
J. Nick Koston
5b4e50d279 more cleanup 2025-10-20 20:13:20 -10:00
J. Nick Koston
8c115ab07b more cleanup 2025-10-20 20:12:51 -10:00
J. Nick Koston
ed94822174 Merge branch 'integration' into memory_api 2025-10-20 19:21:50 -10:00
J. Nick Koston
f7bcf87213 more filter cleanups 2025-10-20 19:13:20 -10:00
J. Nick Koston
1808d43fce Merge branch 'integration' into memory_api 2025-10-20 18:47:01 -10:00
J. Nick Koston
ec7c3add9b Merge branch 'integration' into memory_api 2025-10-20 17:07:00 -10:00
J. Nick Koston
fe0b2daec1 Merge branch 'integration' into memory_api 2025-10-20 15:34:39 -10:00
J. Nick Koston
a91fe2c4c3 Merge branch 'integration' into memory_api 2025-10-20 13:39:58 -10:00
J. Nick Koston
e7ba19b3ea Merge branch 'integration' into memory_api 2025-10-19 12:53:45 -10:00
J. Nick Koston
82f7b7f0d5 debug 2025-10-19 09:41:04 -10:00
J. Nick Koston
db5c78acb9 preen 2025-10-19 09:36:55 -10:00
J. Nick Koston
0b45e1d608 Merge branch 'integration' into memory_api 2025-10-19 09:36:02 -10:00
J. Nick Koston
453a668cfb Merge branch 'integration' into memory_api 2025-10-19 08:46:39 -10:00
J. Nick Koston
ae0c3875fc Merge branch 'integration' into memory_api 2025-10-19 08:02:39 -10:00
J. Nick Koston
c3b652b977 Merge branch 'integration' into memory_api 2025-10-18 22:43:58 -10:00
J. Nick Koston
504c2b9dfd Merge branch 'ci_impact_analysis' into memory_api 2025-10-18 22:43:09 -10:00
J. Nick Koston
314fe77b8d Merge branch 'min_filter_ring_buffer' into memory_api 2025-10-18 22:42:55 -10:00
J. Nick Koston
8686d05d05 Merge branch 'unbound_queued_script_fix' into memory_api 2025-10-18 22:42:50 -10:00
J. Nick Koston
be3dacfe64 Merge branch 'mqtt_reduce_json_assign' into memory_api 2025-10-18 22:42:45 -10:00
J. Nick Koston
3f7e22e271 Merge branch 'integration' into memory_api 2025-10-18 22:24:32 -10:00
J. Nick Koston
a28b85c3fa Merge branch 'dev' of https://github.com/esphome/esphome into memory_api 2025-10-18 22:23:32 -10:00
J. Nick Koston
1010006b5e Merge branch 'dev' into mqtt_reduce_json_assign 2025-10-18 22:16:33 -10:00
J. Nick Koston
9fc3ad1fa5 bot 2025-10-18 22:16:09 -10:00
J. Nick Koston
fc2c55b642 Merge branch 'integration' into memory_api 2025-10-18 21:26:22 -10:00
J. Nick Koston
cfcc6e22e0 Merge branch 'integration' into memory_api 2025-10-18 21:01:21 -10:00
J. Nick Koston
e52eeb528d Merge branch 'integration' into memory_api 2025-10-18 20:45:19 -10:00
J. Nick Koston
c8b2cf1ceb Merge branch 'integration' into memory_api 2025-10-18 20:21:22 -10:00
J. Nick Koston
a236f1c6d1 Merge branch 'integration' into memory_api 2025-10-18 20:05:56 -10:00
J. Nick Koston
d695c99dbe Merge branch 'integration' into memory_api 2025-10-18 19:50:34 -10:00
J. Nick Koston
eb45427d07 Merge branch 'integration' into memory_api 2025-10-18 14:58:13 -10:00
J. Nick Koston
76ad649bf9 review comments 2025-10-18 14:41:59 -10:00
J. Nick Koston
35f8dc528d Merge branch 'integration' into memory_api 2025-10-18 14:26:11 -10:00
J. Nick Koston
e7bc2b0a44 Merge branch 'light_bitmask' into memory_api 2025-10-18 12:35:33 -10:00
J. Nick Koston
f3c1733662 Merge branch 'integration' into memory_api 2025-10-18 12:07:32 -10:00
J. Nick Koston
efc98e9a2c Merge branch 'integration' into memory_api 2025-10-18 11:10:35 -10:00
J. Nick Koston
a0008d6f44 fix 2025-10-18 10:41:37 -10:00
J. Nick Koston
bb03d73106 Merge branch 'integration' into memory_api 2025-10-18 10:36:13 -10:00
J. Nick Koston
5ad22620c9 [mqtt] Reduce flash usage by optimizing ArduinoJson assignments 2025-10-17 23:35:52 -10:00
J. Nick Koston
e200f82d7a fixes 2025-10-17 21:48:03 -10:00
J. Nick Koston
d18a0888e9 Merge branch 'integration' into memory_api 2025-10-17 21:44:48 -10:00
J. Nick Koston
4dd1f51246 Merge branch 'integration' into memory_api 2025-10-17 21:41:47 -10:00
J. Nick Koston
7f38987c60 Merge branch 'integration' into memory_api 2025-10-17 19:24:31 -10:00
J. Nick Koston
54163bb520 Merge branch 'integration' into memory_api 2025-10-17 12:39:47 -10:00
J. Nick Koston
879ba5e090 Merge branch 'integration' into memory_api 2025-10-17 11:48:09 -10:00
J. Nick Koston
c26125c732 Merge branch 'integration' into memory_api 2025-10-17 11:20:53 -10:00
J. Nick Koston
63f9e1fde8 missing guard 2025-10-17 10:54:39 -10:00
J. Nick Koston
16a8645833 Merge branch 'integration' into memory_api 2025-10-17 10:41:20 -10:00
J. Nick Koston
2eeb9d097f Merge branch 'integration' into memory_api 2025-10-17 09:40:31 -10:00
J. Nick Koston
2ad80d2208 tweak 2025-10-17 09:29:58 -10:00
J. Nick Koston
7220d25a4d Merge branch 'integration' into memory_api 2025-10-17 09:07:34 -10:00
J. Nick Koston
5918db6012 Merge branch 'integration' into memory_api 2025-10-17 09:01:59 -10:00
J. Nick Koston
6e3cc21c34 Merge branch 'integration' into memory_api 2025-10-16 21:18:51 -10:00
J. Nick Koston
62e5b5cd2b Merge branch 'integration' into memory_api 2025-10-16 16:31:27 -10:00
J. Nick Koston
75b6fd4b43 Merge branch 'integration' into memory_api 2025-10-16 14:13:58 -10:00
J. Nick Koston
237504f4e8 Merge branch 'integration' into memory_api 2025-10-16 13:24:18 -10:00
J. Nick Koston
e48371a36d Merge branch 'integration' into memory_api 2025-10-16 11:18:40 -10:00
J. Nick Koston
b0cc53fe7d Merge branch 'integration' into memory_api 2025-10-16 10:29:58 -10:00
J. Nick Koston
819e155939 Merge branch 'integration' into memory_api 2025-10-16 10:19:27 -10:00
J. Nick Koston
a1b366b699 Merge branch 'integration' into memory_api 2025-10-16 09:58:42 -10:00
J. Nick Koston
da551a9257 Merge branch 'integration' into memory_api 2025-10-16 09:53:43 -10:00
J. Nick Koston
7c6351b5d7 Merge branch 'integration' into memory_api 2025-10-15 23:51:56 -10:00
J. Nick Koston
453d56fd13 Merge branch 'integration' into memory_api 2025-10-15 22:13:38 -10:00
J. Nick Koston
a49aed2dcb Merge branch 'integration' into memory_api 2025-10-15 16:19:52 -10:00
J. Nick Koston
b7fbc728f8 Merge branch 'integration' into memory_api 2025-10-15 16:08:38 -10:00
J. Nick Koston
8156c8ccf5 Merge branch 'integration' into memory_api 2025-10-15 15:51:19 -10:00
J. Nick Koston
98c1c2d9af Merge branch 'integration' into memory_api 2025-10-15 15:40:17 -10:00
J. Nick Koston
ec31f0b13b Merge branch 'memory_api' of https://github.com/esphome/esphome into memory_api 2025-10-15 15:21:05 -10:00
J. Nick Koston
d443d3037b Merge branch 'integration' into memory_api 2025-10-15 15:20:48 -10:00
J. Nick Koston
7a0ea74ec6 Merge branch 'integration' into memory_api 2025-10-15 09:45:21 -10:00
J. Nick Koston
2001ae1d41 Merge remote-tracking branch 'origin/integration' into memory_api 2025-10-15 09:45:15 -10:00
J. Nick Koston
9b00ab5fe4 Merge branch 'integration' into memory_api 2025-10-14 16:24:24 -10:00
J. Nick Koston
0a738b23f1 Merge branch 'integration' into memory_api 2025-10-14 16:06:16 -10:00
J. Nick Koston
e2327b46e6 Merge branch 'integration' into memory_api 2025-10-14 12:30:06 -10:00
J. Nick Koston
7598900cc2 Merge branch 'integration' into memory_api 2025-10-14 09:39:00 -10:00
J. Nick Koston
138c0fdf91 Merge branch 'integration' into memory_api 2025-10-14 09:17:14 -10:00
J. Nick Koston
41d5122a57 Merge branch 'integration' into memory_api 2025-10-13 22:51:25 -10:00
J. Nick Koston
5c3379120f Merge branch 'integration' into memory_api 2025-10-13 22:31:55 -10:00
J. Nick Koston
3dff1d02d2 Merge branch 'integration' into memory_api 2025-10-13 21:59:26 -10:00
J. Nick Koston
7572951bc5 Merge branch 'integration' into memory_api 2025-10-13 21:58:53 -10:00
J. Nick Koston
a8b6a56467 Merge branch 'integration' into memory_api 2025-10-13 21:46:14 -10:00
J. Nick Koston
66d859bfae Merge branch 'integration' into memory_api 2025-10-13 21:42:24 -10:00
J. Nick Koston
2316f3a5e3 Merge branch 'integration' into memory_api 2025-10-13 21:14:52 -10:00
J. Nick Koston
1479f48636 Merge branch 'fixed_vector_HomeassistantServiceMap' into memory_api 2025-10-13 19:31:38 -10:00
J. Nick Koston
adc0e986a2 Merge branch 'integration' into memory_api 2025-10-13 19:28:36 -10:00
J. Nick Koston
1c6dd52e9f Merge branch 'integration' into memory_api 2025-10-13 19:15:55 -10:00
J. Nick Koston
b7af2d7f4c Merge branch 'integration' into memory_api 2025-10-13 19:07:08 -10:00
J. Nick Koston
96dd348f9a Merge branch 'integration' into memory_api 2025-10-13 18:32:24 -10:00
J. Nick Koston
98132cb950 Merge branch 'integration' into memory_api 2025-10-13 17:50:00 -10:00
J. Nick Koston
a674727fa6 Merge branch 'integration' into memory_api 2025-10-13 16:51:04 -10:00
J. Nick Koston
9945c4b350 Merge branch 'integration' into memory_api 2025-10-13 15:41:57 -10:00
J. Nick Koston
044b3c07ef Merge branch 'integration' into memory_api 2025-10-13 15:30:38 -10:00
J. Nick Koston
910aff6589 Merge branch 'integration' into memory_api 2025-10-13 14:51:27 -10:00
J. Nick Koston
d82bcea106 Merge branch 'integration' into memory_api 2025-10-13 14:39:08 -10:00
J. Nick Koston
99a5a6f3a6 Merge branch 'integration' into memory_api 2025-10-13 14:20:29 -10:00
J. Nick Koston
7231b0cb5c Merge branch 'integration' into memory_api 2025-10-13 11:41:49 -10:00
J. Nick Koston
e28599b403 Merge branch 'integration' into memory_api 2025-10-12 20:22:31 -10:00
J. Nick Koston
987d616846 Merge branch 'integration' into memory_api 2025-10-12 20:20:49 -10:00
J. Nick Koston
ba408a10bb Merge branch 'integration' into memory_api 2025-10-12 20:15:20 -10:00
J. Nick Koston
767b5a11ef Merge branch 'integration' into memory_api 2025-10-12 12:55:42 -10:00
J. Nick Koston
a2254a6d55 Merge branch 'integration' into memory_api 2025-10-12 11:29:04 -10:00
J. Nick Koston
2c6828eb84 Merge branch 'integration' into memory_api 2025-10-12 11:16:36 -10:00
J. Nick Koston
a635db726d Merge branch 'integration' into memory_api 2025-10-12 10:32:11 -10:00
J. Nick Koston
dc53831b27 Merge branch 'integration' into memory_api 2025-10-11 22:03:51 -10:00
J. Nick Koston
6a0bcdf4f6 Merge branch 'integration' into memory_api 2025-10-11 21:26:37 -10:00
J. Nick Koston
cebc8a3867 Merge branch 'integration' into memory_api 2025-10-11 21:23:51 -10:00
J. Nick Koston
91dbdffea5 [mipi_rgb] Fix pin conflicts introduced by shared SPI bus in #11134 2025-10-11 19:56:05 -10:00
J. Nick Koston
2fc5afc79e Merge branch 'integration' into memory_api 2025-10-11 17:36:14 -10:00
J. Nick Koston
34d891761a Merge branch 'integration' into memory_api 2025-10-11 17:00:46 -10:00
J. Nick Koston
d6239398ed Merge branch 'loop_fix_vec' into memory_api 2025-10-11 17:00:25 -10:00
J. Nick Koston
d2a31b95c4 preen 2025-10-11 16:08:47 -10:00
J. Nick Koston
0d3489df3f Merge branch 'integration' into memory_api 2025-10-11 15:34:42 -10:00
J. Nick Koston
069893abb9 Merge branch 'integration' into memory_api 2025-10-11 13:46:07 -10:00
J. Nick Koston
b7b2b296a0 Merge branch 'integration' into memory_api 2025-10-11 12:39:33 -10:00
J. Nick Koston
c241258dfe Merge branch 'integration' into memory_api 2025-10-11 11:26:19 -10:00
J. Nick Koston
19c541f1e6 Merge branch 'integration' into memory_api 2025-10-11 11:11:46 -10:00
J. Nick Koston
245ccb02fa Merge branch 'integration' into memory_api 2025-10-11 10:52:51 -10:00
J. Nick Koston
69888af408 Merge branch 'integration' into memory_api 2025-10-11 09:32:00 -10:00
J. Nick Koston
a012557911 Merge branch 'integration' into memory_api 2025-10-11 09:31:08 -10:00
J. Nick Koston
d63af64282 Merge branch 'integration' into memory_api 2025-10-11 06:27:06 -10:00
J. Nick Koston
c524e6c2b3 Merge branch 'integration' into memory_api 2025-10-10 21:00:54 -10:00
J. Nick Koston
2184c1fde6 Merge branch 'integration' into memory_api 2025-10-10 20:04:45 -10:00
J. Nick Koston
ec44856537 Merge branch 'integration' into memory_api 2025-10-10 19:44:02 -10:00
J. Nick Koston
ee3af3904f Merge remote-tracking branch 'origin/memory_api' into memory_api 2025-10-10 17:39:56 -10:00
J. Nick Koston
02de8f9f80 merge 2025-10-10 17:39:37 -10:00
J. Nick Koston
9722c8eb60 Merge remote-tracking branch 'origin/integration' into memory_api 2025-10-10 17:39:14 -10:00
J. Nick Koston
29fb40a89f Merge branch 'integration' into memory_api 2025-10-10 17:39:01 -10:00
J. Nick Koston
e972767a11 Merge branch 'integration' into memory_api 2025-10-09 22:48:13 -10:00
J. Nick Koston
06a0ab6839 Merge branch 'integration' into memory_api 2025-10-09 16:04:24 -10:00
J. Nick Koston
968d1e2647 Merge branch 'integration' into memory_api 2025-10-09 10:41:47 -10:00
J. Nick Koston
5a4f1dd2da Merge branch 'esp32_remove_esp32_ard_apis' into integration 2025-10-09 10:41:40 -10:00
J. Nick Koston
5b146e1f12 fix 2025-10-09 10:39:41 -10:00
J. Nick Koston
de8a4ff6b0 Merge branch 'integration' into memory_api 2025-10-09 10:33:08 -10:00
J. Nick Koston
c756e132a7 Merge branch 'integration' into memory_api 2025-10-08 09:28:07 -10:00
J. Nick Koston
98e68c32ee Merge branch 'integration' into memory_api 2025-10-08 05:50:03 -10:00
J. Nick Koston
2ea32635c9 Merge branch 'integration' into memory_api 2025-10-08 05:12:32 -10:00
J. Nick Koston
48799517eb Merge branch 'integration' into memory_api 2025-10-07 22:55:15 -10:00
J. Nick Koston
a0d9098f41 Merge branch 'integration' into memory_api 2025-10-07 22:34:07 -10:00
J. Nick Koston
fc0afa1793 Merge branch 'integration' into memory_api 2025-10-07 22:22:31 -10:00
J. Nick Koston
21d4e090bf Merge branch 'integration' into memory_api 2025-10-07 21:52:06 -10:00
J. Nick Koston
181f360176 Merge branch 'integration' into memory_api 2025-10-07 16:21:40 -10:00
J. Nick Koston
58796141e9 Merge branch 'integration' into memory_api 2025-10-07 16:12:17 -10:00
J. Nick Koston
76c8da03fe Merge branch 'integration' into memory_api 2025-10-07 14:10:20 -10:00
J. Nick Koston
3b06b3386f Merge branch 'integration' into memory_api 2025-10-07 17:47:36 -05:00
J. Nick Koston
6107802d69 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-10-07 17:17:47 -05:00
J. Nick Koston
f59d2d5aca Merge branch 'integration' into memory_api 2025-10-07 17:16:24 -05:00
J. Nick Koston
15968cd8be Merge branch 'integration' into memory_api 2025-10-07 15:42:36 -05:00
J. Nick Koston
65b8148f2e simplify 2025-10-07 15:24:48 -05:00
J. Nick Koston
93d493004c simplify 2025-10-07 15:24:42 -05:00
J. Nick Koston
94eab93110 Merge branch 'integration' into memory_api 2025-10-07 14:59:21 -05:00
J. Nick Koston
b89c230e6a Merge branch 'integration' into memory_api 2025-10-07 11:14:50 -05:00
J. Nick Koston
4088dbfdb6 Merge branch 'integration' into memory_api 2025-10-07 09:50:11 -05:00
J. Nick Koston
b2699f5e37 Merge branch 'integration' into memory_api 2025-10-06 17:42:49 -05:00
J. Nick Koston
517f59afe4 [api] Optimize frame helpers to eliminate double-move overhead 2025-10-06 17:27:05 -05:00
J. Nick Koston
1cf5290f28 Merge branch 'integration' into memory_api 2025-10-06 17:20:32 -05:00
J. Nick Koston
cb8765a1dd Merge branch 'integration' into memory_api 2025-10-06 14:17:42 -05:00
J. Nick Koston
553b65b998 Merge branch 'integration' into memory_api 2025-10-06 12:41:56 -05:00
J. Nick Koston
5daccc92c6 Merge branch 'integration' into memory_api 2025-10-06 12:34:44 -05:00
J. Nick Koston
4b09d3a11b Merge branch 'integration' into memory_api 2025-10-06 12:00:27 -05:00
J. Nick Koston
fae8b5f16a Merge branch 'integration' into memory_api 2025-10-06 11:57:44 -05:00
J. Nick Koston
3ab91e1f8b Merge branch 'integration' into memory_api 2025-10-05 22:51:51 -05:00
J. Nick Koston
0a45aad842 Merge branch 'integration' into memory_api 2025-10-05 17:23:15 -05:00
J. Nick Koston
0e04b5ce61 Merge branch 'integration' into memory_api 2025-10-05 17:22:14 -05:00
J. Nick Koston
c9a70eb270 Merge branch 'wifi_logging_opt' into memory_api 2025-10-05 17:11:28 -05:00
J. Nick Koston
71a254a126 Merge branch 'integration' into memory_api 2025-10-05 17:10:30 -05:00
J. Nick Koston
6841d40d07 Merge branch 'integration' into memory_api 2025-10-05 14:43:26 -05:00
J. Nick Koston
4687e58b03 help bot 2025-10-04 22:02:32 -05:00
J. Nick Koston
b31f381444 wip 2025-10-04 21:19:26 -05:00
J. Nick Koston
f2a84052db Merge branch 'integration' into memory_api 2025-10-04 20:31:35 -05:00
J. Nick Koston
481c87aac3 Merge branch 'integration' into memory_api 2025-10-04 20:18:05 -05:00
J. Nick Koston
244ed9f95f Merge branch 'integration' into memory_api 2025-10-04 13:58:45 -05:00
J. Nick Koston
0178bd166d Merge branch 'integration' into memory_api 2025-10-04 13:48:39 -05:00
J. Nick Koston
1ec74583a6 Merge branch 'integration' into memory_api 2025-10-04 13:08:16 -05:00
J. Nick Koston
395aef5a13 Merge branch 'integration' into memory_api 2025-10-04 12:46:45 -05:00
J. Nick Koston
8f4decdce4 Merge branch 'integration' into memory_api 2025-10-04 12:40:48 -05:00
J. Nick Koston
76afcc7647 Merge branch 'integration' into memory_api 2025-10-04 11:25:30 -05:00
J. Nick Koston
c640792482 Merge branch 'integration' into memory_api 2025-10-04 00:26:26 -05:00
J. Nick Koston
5600e52207 Merge branch 'integration' into memory_api 2025-10-03 20:35:52 -05:00
J. Nick Koston
e27df825f8 Merge branch 'integration' into memory_api 2025-10-03 19:40:40 -05:00
J. Nick Koston
e20ad92bf7 Merge branch 'integration' into memory_api 2025-10-03 18:38:55 -05:00
J. Nick Koston
ef3ab92979 Merge branch 'integration' into memory_api 2025-10-03 18:34:25 -05:00
J. Nick Koston
944514eea4 Merge branch 'integration' into memory_api 2025-10-03 18:21:34 -05:00
J. Nick Koston
34e0620765 Merge branch 'integration' into memory_api 2025-10-03 18:11:25 -05:00
J. Nick Koston
d660207c12 Merge branch 'integration' into memory_api 2025-10-03 18:07:17 -05:00
J. Nick Koston
249080d118 Merge branch 'integration' into memory_api 2025-10-03 18:04:25 -05:00
J. Nick Koston
5e9c9e8e79 Merge branch 'integration' into memory_api 2025-10-03 17:08:07 -05:00
J. Nick Koston
7887e136d6 Merge branch 'integration' into memory_api 2025-10-03 16:56:45 -05:00
J. Nick Koston
a3f4863fdc Merge branch 'integration' into memory_api 2025-10-03 16:41:25 -05:00
J. Nick Koston
9e6dc91051 Merge branch 'integration' into memory_api 2025-10-03 16:06:56 -05:00
J. Nick Koston
d909910d6d Merge branch 'integration' into memory_api 2025-10-03 15:32:28 -05:00
J. Nick Koston
c78dc048d8 Merge branch 'integration' into memory_api 2025-10-03 14:58:25 -05:00
J. Nick Koston
7b65279021 Merge branch 'integration' into memory_api 2025-10-03 14:32:17 -05:00
J. Nick Koston
916984b616 Merge branch 'integration' into memory_api 2025-10-03 14:23:48 -05:00
J. Nick Koston
095542035e Merge branch 'integration' into memory_api 2025-10-03 14:21:34 -05:00
J. Nick Koston
29551832b3 Merge branch 'integration' into memory_api 2025-10-03 00:46:01 +02:00
J. Nick Koston
f7cbb5d647 Merge branch 'integration' into memory_api 2025-10-02 23:06:43 +02:00
J. Nick Koston
cd1b47667b preen 2025-10-02 23:02:46 +02:00
J. Nick Koston
86f2d2e5c2 Merge remote-tracking branch 'upstream/memory_api' into memory_api 2025-10-02 22:14:58 +02:00
J. Nick Koston
650f2f915a Merge branch 'webserver_string_construction_reduce' into memory_api 2025-10-02 22:14:12 +02:00
J. Nick Koston
9865320c88 Merge branch 'integration' into memory_api 2025-10-02 20:08:01 +02:00
J. Nick Koston
be4af0a977 Merge branch 'integration' into memory_api 2025-10-02 16:45:45 +02:00
J. Nick Koston
28e8750ad6 Merge branch 'integration' into memory_api 2025-10-02 14:20:41 +02:00
J. Nick Koston
bd6169ce34 Merge branch 'integration' into memory_api 2025-10-02 10:08:55 +02:00
J. Nick Koston
e845bb3404 Merge branch 'integration' into memory_api 2025-10-02 00:22:06 +02:00
J. Nick Koston
2cdc04fa27 Merge branch 'integration' into memory_api 2025-10-02 00:04:56 +02:00
J. Nick Koston
28bc3c20ad Merge branch 'integration' into memory_api 2025-10-01 23:35:54 +02:00
J. Nick Koston
fabeae554f Merge branch 'integration' into memory_api 2025-10-01 23:10:25 +02:00
J. Nick Koston
4208bad94d Merge branch 'integration' into memory_api 2025-10-01 22:49:37 +02:00
J. Nick Koston
b89d969d09 Merge branch 'integration' into memory_api 2025-10-01 21:36:07 +02:00
J. Nick Koston
829f9fb9bc style 2025-10-01 21:08:31 +02:00
J. Nick Koston
5afe2ea48e Merge branch 'integration' into memory_api 2025-10-01 20:47:48 +02:00
J. Nick Koston
b7ab9773a3 Merge branch 'integration' into memory_api 2025-10-01 18:20:48 +02:00
J. Nick Koston
0cabe6d28e Merge branch 'integration' into memory_api 2025-10-01 17:06:11 +02:00
J. Nick Koston
767753bdda Merge branch 'integration' into memory_api 2025-10-01 16:08:09 +02:00
J. Nick Koston
8c9c2ea3ec Merge branch 'integration' into memory_api 2025-10-01 15:57:57 +02:00
J. Nick Koston
8ef4fc4fe9 Merge branch 'integration' into memory_api 2025-10-01 15:20:45 +02:00
J. Nick Koston
fc2f44fa77 Merge branch 'integration' into memory_api 2025-10-01 13:36:04 +02:00
J. Nick Koston
ef0079609e Merge branch 'integration' into memory_api 2025-10-01 13:09:34 +02:00
J. Nick Koston
f0408fb121 Merge branch 'integration' into memory_api 2025-10-01 04:58:22 +02:00
J. Nick Koston
21b22ccd34 Merge branch 'integration' into memory_api 2025-10-01 02:43:56 +02:00
J. Nick Koston
c9088fcaf2 Merge branch 'integration' into memory_api 2025-09-30 18:29:15 +02:00
J. Nick Koston
212933ec29 Merge branch 'web_server_more_tables' into memory_api 2025-09-30 14:11:57 +02:00
J. Nick Koston
fa89617a56 Merge branch 'integration' into memory_api 2025-09-30 13:59:59 +02:00
J. Nick Koston
950310e49a [web_server] Optimize handler methods with lookup tables to reduce flash usage 2025-09-30 11:08:48 +02:00
J. Nick Koston
823d97d216 Merge branch 'integration' into memory_api 2025-09-30 10:31:17 +02:00
J. Nick Koston
29b6a1a6aa add comments to explain to copilot why std::vector convert is needed 2025-09-29 20:15:31 -05:00
J. Nick Koston
d381a220f7 Merge branch 'integration' into memory_api 2025-09-29 20:00:45 -05:00
J. Nick Koston
daa18bdbaf Merge branch 'integration' into memory_api 2025-09-29 19:14:40 -05:00
J. Nick Koston
0eef3caa37 Merge branch 'integration' into memory_api 2025-09-29 18:51:24 -05:00
J. Nick Koston
ee50ea31b4 Merge branch 'integration' into memory_api 2025-09-29 16:41:35 -05:00
J. Nick Koston
c1081fbff7 Merge branch 'integration' into memory_api 2025-09-29 14:05:43 -05:00
J. Nick Koston
07e230b6a7 Merge branch 'integration' into memory_api 2025-09-29 14:00:46 -05:00
J. Nick Koston
4f1c4ada9f Merge branch 'integration' into memory_api 2025-09-29 13:13:52 -05:00
J. Nick Koston
825d24f4d0 Merge branch 'integration' into memory_api 2025-09-29 10:02:05 -05:00
J. Nick Koston
0af79adb4a Merge branch 'integration' into memory_api 2025-09-28 21:34:32 -05:00
J. Nick Koston
1917d2b0af Merge branch 'integration' into memory_api 2025-09-28 18:54:40 -05:00
J. Nick Koston
4652bfa312 Merge branch 'integration' into memory_api 2025-09-28 18:50:46 -05:00
J. Nick Koston
d015457d76 Merge branch 'integration' into memory_api 2025-09-28 18:44:23 -05:00
J. Nick Koston
0945912979 Merge branch 'guard_trq_allocation' into memory_api 2025-09-28 18:43:06 -05:00
J. Nick Koston
e51b16a9c4 Merge branch 'integration' into memory_api 2025-09-28 18:27:26 -05:00
J. Nick Koston
1af6432c31 Merge branch 'integration' into memory_api 2025-09-27 13:59:32 -05:00
J. Nick Koston
4fa9c00158 Merge branch 'make_captive_portal_captive' into memory_api 2025-09-27 13:46:42 -05:00
J. Nick Koston
42c6a3b878 Merge branch 'integration' into memory_api 2025-09-27 13:46:33 -05:00
J. Nick Koston
5841dc58a9 Merge branch 'integration' into memory_api 2025-09-27 13:32:55 -05:00
J. Nick Koston
9e6a589ee4 Merge branch 'integration' into memory_api 2025-09-27 13:22:15 -05:00
J. Nick Koston
10c4d3396e Merge branch 'make_captive_portal_captive' into memory_api 2025-09-27 13:13:05 -05:00
J. Nick Koston
c787495273 Merge branch 'integration' into memory_api 2025-09-27 13:09:45 -05:00
J. Nick Koston
f3fd86a50d Merge branch 'integration' into memory_api 2025-09-27 13:07:38 -05:00
J. Nick Koston
45a8b641b9 Merge branch 'integration' into memory_api 2025-09-27 13:04:20 -05:00
J. Nick Koston
3aec19a4a6 Merge branch 'integration' into memory_api 2025-09-27 11:15:54 -05:00
J. Nick Koston
b86b186188 Merge branch 'imporv_name' into memory_api 2025-09-27 11:10:16 -05:00
J. Nick Koston
75adceb027 Merge branch 'imporv_name' into memory_api 2025-09-27 11:09:25 -05:00
J. Nick Koston
3c06dda9f0 Merge branch 'integration' into memory_api 2025-09-27 10:54:33 -05:00
J. Nick Koston
08cf92bec7 Merge branch 'ota_password_block' into memory_api 2025-09-27 09:29:15 -05:00
J. Nick Koston
b6e8eece18 Merge branch 'integration' into memory_api 2025-09-27 09:29:09 -05:00
J. Nick Koston
c526873d71 Merge branch 'integration' into memory_api 2025-09-27 00:04:03 -05:00
J. Nick Koston
d4026f9333 Merge branch 'integration' into memory_api 2025-09-26 18:19:51 -05:00
J. Nick Koston
7e52eb5ee3 cond 2025-09-26 17:54:56 -05:00
J. Nick Koston
78f64d493c Merge branch 'integration' into memory_api 2025-09-26 16:17:40 -05:00
J. Nick Koston
f4134f21ba Merge branch 'integration' into memory_api 2025-09-26 15:00:59 -05:00
J. Nick Koston
71f35c849d Merge branch 'integration' into memory_api 2025-09-26 14:27:10 -05:00
J. Nick Koston
7136993f31 Merge branch 'integration' into memory_api 2025-09-26 12:36:43 -05:00
J. Nick Koston
5ecdce9473 Merge branch 'integration' into memory_api 2025-09-26 10:32:23 -05:00
J. Nick Koston
70a0b4e1e4 Merge branch 'integration' into memory_api 2025-09-26 10:23:34 -05:00
J. Nick Koston
efe5057cc2 Merge branch 'integration' into memory_api 2025-09-26 10:18:10 -05:00
J. Nick Koston
75b9b56627 Merge branch 'integration' into memory_api 2025-09-26 09:15:34 -05:00
J. Nick Koston
ba88187353 Merge branch 'integration' into memory_api 2025-09-26 00:13:24 -05:00
J. Nick Koston
91b2140916 Merge branch 'integration' into memory_api 2025-09-25 22:50:16 -05:00
J. Nick Koston
e9f78238d4 Merge branch 'sha256_ota' into memory_api 2025-09-25 20:36:24 -05:00
J. Nick Koston
3ce430985a Merge branch 'integration' into memory_api 2025-09-25 14:48:12 -05:00
J. Nick Koston
24d034c674 Merge branch 'dependabot/pip/ruff-0.13.2' into memory_api 2025-09-25 14:37:14 -05:00
J. Nick Koston
d06175816c match pre-commit 2025-09-25 14:34:42 -05:00
J. Nick Koston
76a2725a25 Merge branch 'integration' into memory_api 2025-09-25 14:33:43 -05:00
J. Nick Koston
a4af23ebe4 Merge branch 'integration' into memory_api 2025-09-25 14:24:58 -05:00
J. Nick Koston
2d395d1f8d Merge branch 'integration' into memory_api 2025-09-25 14:20:58 -05:00
dependabot[bot]
a4991a1d96 Bump ruff from 0.13.1 to 0.13.2
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/0.13.1...0.13.2)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-25 19:01:29 +00:00
J. Nick Koston
dadc557b01 Merge branch 'integration' into memory_api 2025-09-25 11:09:51 -05:00
J. Nick Koston
c5062dab55 Merge branch 'integration' into memory_api 2025-09-25 10:56:43 -05:00
J. Nick Koston
a09ca274c3 Merge branch 'sha256_ota' into memory_api 2025-09-25 10:32:23 -05:00
J. Nick Koston
97b59f7775 Merge branch 'integration' into memory_api 2025-09-24 22:21:00 -05:00
J. Nick Koston
8c894e76e7 Merge branch 'integration' into memory_api 2025-09-24 22:07:52 -05:00
J. Nick Koston
90ffdfd650 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-09-24 22:07:31 -05:00
J. Nick Koston
50b479b8f1 Merge branch 'integration' into memory_api 2025-09-24 21:20:52 -05:00
J. Nick Koston
8abdaceb51 Merge branch 'integration' into memory_api 2025-09-24 17:41:33 -05:00
J. Nick Koston
20bc9da534 Merge branch 'integration' into memory_api 2025-09-24 11:53:14 -05:00
J. Nick Koston
b91ae29142 Merge branch 'integration' into memory_api 2025-09-24 09:22:37 -05:00
J. Nick Koston
42525b981e Merge branch 'integration' into memory_api 2025-09-23 23:42:09 -05:00
J. Nick Koston
9ac0f4aa4d Merge branch 'integration' into memory_api 2025-09-23 17:59:18 -05:00
J. Nick Koston
093e70ceb8 Merge branch 'integration' into memory_api 2025-09-23 17:44:51 -05:00
J. Nick Koston
7100d65f14 Merge remote-tracking branch 'upstream/core_api_no_allocate' into memory_api 2025-09-23 15:47:08 -05:00
J. Nick Koston
886cca1095 Merge branch 'integration' into memory_api 2025-09-23 15:05:44 -05:00
J. Nick Koston
7d8c97ac3b Merge branch 'integration' into memory_api 2025-09-23 11:52:10 -05:00
J. Nick Koston
9984cfc039 Merge branch 'integration' into memory_api 2025-09-23 11:30:15 -05:00
J. Nick Koston
288b70669d Merge branch 'integration' into memory_api 2025-09-23 10:14:05 -05:00
J. Nick Koston
58add6d365 Merge branch 'integration' into memory_api 2025-09-23 09:17:25 -05:00
J. Nick Koston
1ffa10c28f Merge branch 'remove-esp32-arduino-wifi-driver' into memory_api 2025-09-23 09:16:55 -05:00
J. Nick Koston
aa687be49d Merge branch 'integration' into memory_api 2025-09-23 09:11:09 -05:00
J. Nick Koston
c800e02ee8 Merge branch 'integration' into memory_api 2025-09-23 08:41:53 -05:00
J. Nick Koston
0e85cf7ed8 Merge branch 'integration' into memory_api 2025-09-23 00:42:34 -05:00
J. Nick Koston
c0ea795348 Merge branch 'integration' into memory_api 2025-09-23 00:19:31 -05:00
J. Nick Koston
3d07a4a3c9 Merge branch 'integration' into memory_api 2025-09-22 16:23:34 -05:00
J. Nick Koston
1069ed0363 Merge branch 'sha256_ota' into memory_api 2025-09-21 15:57:03 -06:00
J. Nick Koston
0ab4f69a9c Merge branch 'integration' into memory_api 2025-09-21 15:53:38 -06:00
J. Nick Koston
199d575052 Merge branch 'integration' into memory_api 2025-09-21 15:46:50 -06:00
J. Nick Koston
05685b41cd merge 2025-09-21 12:12:53 -06:00
J. Nick Koston
7d96cf66c6 Merge branch 'integration' into memory_api 2025-09-21 12:11:12 -06:00
J. Nick Koston
8bf908a88a Merge branch 'integration' into memory_api 2025-09-21 12:06:47 -06:00
J. Nick Koston
991409d315 cleanup 2025-09-21 11:56:16 -06:00
J. Nick Koston
d5c067acfa preen 2025-09-21 11:53:37 -06:00
J. Nick Koston
85ca03345c Merge branch 'integration' into memory_api 2025-09-21 11:47:33 -06:00
J. Nick Koston
70bbe3b825 Merge branch 'integration' into memory_api 2025-09-21 11:39:44 -06:00
J. Nick Koston
863588d313 Merge branch 'integration' into memory_api 2025-09-21 11:25:51 -06:00
J. Nick Koston
cd90fb2cf7 Merge branch 'integration' into memory_api 2025-09-21 11:06:50 -06:00
J. Nick Koston
abc5604c1f Merge branch 'integration' into memory_api 2025-09-21 11:06:30 -06:00
J. Nick Koston
e5fd5425c1 Merge branch 'integration' into memory_api 2025-09-19 22:44:34 -06:00
J. Nick Koston
f8d380cb7d Merge branch 'integration' into memory_api 2025-09-17 17:45:29 -05:00
J. Nick Koston
4031dc2305 Merge branch 'integration' into memory_api 2025-09-17 17:40:18 -05:00
J. Nick Koston
c69dde4454 Merge branch 'integration' into memory_api 2025-09-17 17:25:33 -05:00
J. Nick Koston
db9b1c36f6 Merge branch 'integration' into memory_api 2025-09-16 21:31:32 -05:00
J. Nick Koston
e700ce6c61 Merge branch 'integration' into memory_api 2025-09-16 12:18:27 -05:00
J. Nick Koston
4a04f9f0f0 Merge branch 'integration' into memory_api 2025-09-16 10:53:06 -05:00
J. Nick Koston
48356ab86d Merge branch 'fix_clean_build_files_not_removing_platformio_cache' into memory_api 2025-09-16 10:52:06 -05:00
J. Nick Koston
f1f0fc858c Merge branch 'integration' into memory_api 2025-09-16 10:50:10 -05:00
J. Nick Koston
b69e6f2152 Merge branch 'integration' into memory_api 2025-09-15 23:26:46 -05:00
J. Nick Koston
f0bce77adc Merge branch 'integration' into memory_api 2025-09-15 22:01:30 -05:00
J. Nick Koston
35f50b710e preen 2025-09-15 21:28:42 -05:00
J. Nick Koston
0091a2b92b Merge branch 'integration' into memory_api 2025-09-15 21:20:26 -05:00
J. Nick Koston
5acea1252b Merge branch 'webserver_remove_lambas' into memory_api 2025-09-15 20:55:41 -05:00
J. Nick Koston
f37c833c38 Merge branch 'integration' into memory_api 2025-09-15 19:01:16 -05:00
J. Nick Koston
cd15a43d77 Merge branch 'integration' into memory_api 2025-09-15 18:45:20 -05:00
J. Nick Koston
beb80a2bb6 Merge branch 'integration' into memory_api 2025-09-15 18:00:13 -05:00
J. Nick Koston
64f267914e Merge branch 'integration' into memory_api 2025-09-15 17:45:01 -05:00
J. Nick Koston
e02f2f625f Merge branch 'integration' into memory_api 2025-09-15 12:16:10 -05:00
J. Nick Koston
d005408f71 Merge branch 'integration' into memory_api 2025-09-15 11:53:58 -05:00
J. Nick Koston
415593d05e Merge branch 'integration' into memory_api 2025-09-14 23:16:22 -05:00
J. Nick Koston
ca185cb28f Merge branch 'integration' into memory_api 2025-09-14 22:48:18 -05:00
J. Nick Koston
277b8aff73 Merge branch 'integration' into memory_api 2025-09-14 22:36:34 -05:00
J. Nick Koston
adaebf64ba Merge branch 'integration' into memory_api 2025-09-14 22:19:20 -05:00
J. Nick Koston
a8b8819826 Merge branch 'integration' into memory_api 2025-09-14 21:56:20 -05:00
J. Nick Koston
2a0567c456 Merge branch 'integration' into memory_api 2025-09-14 16:19:26 -05:00
J. Nick Koston
6378bb2ac4 Merge branch 'integration' into memory_api 2025-09-14 14:42:12 -05:00
J. Nick Koston
cb439f31b9 Merge branch 'integration' into memory_api 2025-09-14 14:21:16 -05:00
J. Nick Koston
0e9110482c Merge branch 'integration' into memory_api 2025-09-14 14:01:21 -05:00
J. Nick Koston
53ab104c6a Merge branch 'integration' into memory_api 2025-09-14 13:54:27 -05:00
J. Nick Koston
842006efa1 Merge branch 'integration' into memory_api 2025-09-14 10:50:16 -05:00
J. Nick Koston
bcf8f4ef9d comments 2025-09-14 09:25:59 -05:00
J. Nick Koston
ea26f9319b comments 2025-09-14 09:25:46 -05:00
J. Nick Koston
f78ae3aa52 Merge branch 'integration' into memory_api 2025-09-14 09:18:36 -05:00
J. Nick Koston
a8c1f6e551 Merge branch 'integration' into memory_api 2025-09-13 22:42:36 -05:00
J. Nick Koston
62c457fd87 Merge branch 'integration' into memory_api 2025-09-13 18:08:02 -05:00
J. Nick Koston
b118aa7339 Merge branch 'integration' into memory_api 2025-09-13 17:16:36 -05:00
J. Nick Koston
11691d05e2 Merge branch 'integration' into memory_api 2025-09-13 17:01:04 -05:00
J. Nick Koston
f6ebe21509 Merge branch 'integration' into memory_api 2025-09-10 21:17:19 -05:00
J. Nick Koston
185a2c2fe7 Merge branch 'integration' into memory_api 2025-09-09 17:06:57 -05:00
J. Nick Koston
af45b63d51 Merge branch 'dev' into memory_api 2025-09-09 17:06:39 -05:00
J. Nick Koston
e59928166b Merge branch 'integration' into memory_api 2025-09-08 20:31:33 -05:00
J. Nick Koston
6a7145fef8 Merge branch 'integration' into memory_api 2025-09-08 19:53:58 -05:00
J. Nick Koston
29552b951d Merge branch 'integration' into memory_api 2025-09-08 19:28:32 -05:00
J. Nick Koston
4c9fd2b800 Merge branch 'integration' into memory_api 2025-09-08 10:05:14 -05:00
J. Nick Koston
f37223c756 Merge branch 'integration' into memory_api 2025-09-07 22:03:07 -05:00
J. Nick Koston
5b4b026d1b Merge branch 'integration' into memory_api 2025-09-07 20:11:09 -05:00
J. Nick Koston
563216220d Merge branch 'integration' into memory_api 2025-09-07 18:54:50 -05:00
J. Nick Koston
d2e1135a56 Merge branch 'integration' into memory_api 2025-09-07 18:47:09 -05:00
J. Nick Koston
aec6c3ae33 Merge branch 'integration' into memory_api 2025-09-07 18:23:31 -05:00
J. Nick Koston
72a1f467f0 Merge branch 'integration' into memory_api 2025-09-07 18:05:23 -05:00
J. Nick Koston
c634ef4b12 Merge branch 'integration' into memory_api 2025-09-07 18:02:14 -05:00
J. Nick Koston
ffd607ee28 Merge branch 'integration' into memory_api 2025-09-07 17:21:57 -05:00
J. Nick Koston
1964764dd0 Merge branch 'integration' into memory_api 2025-09-07 16:50:48 -05:00
J. Nick Koston
f358f0a8f9 Merge branch 'integration' into memory_api 2025-09-07 09:48:20 -05:00
J. Nick Koston
f9d10954bb Merge branch 'integration' into memory_api 2025-09-07 09:33:29 -05:00
J. Nick Koston
68c8a67677 Merge branch 'integration' into memory_api 2025-09-07 09:02:28 -05:00
J. Nick Koston
5f8731a136 Merge branch 'integration' into memory_api 2025-09-07 08:59:12 -05:00
J. Nick Koston
2be9f42ddd Merge branch 'integration' into memory_api 2025-09-07 08:23:54 -05:00
J. Nick Koston
902619e46d Merge branch 'integration' into memory_api 2025-09-06 23:30:57 -05:00
J. Nick Koston
97957b49f1 rename 2025-09-06 23:29:11 -05:00
J. Nick Koston
871d36e303 Merge branch 'integration' into memory_api 2025-09-06 22:58:10 -05:00
J. Nick Koston
08f6286427 Merge branch 'integration' into memory_api 2025-09-06 22:53:35 -05:00
J. Nick Koston
261ab786fd Merge branch 'integration' into memory_api 2025-09-06 09:23:33 -05:00
J. Nick Koston
5e44aa2ccc Merge branch 'integration' into memory_api 2025-09-05 22:23:30 -05:00
J. Nick Koston
e9498d65c5 Merge branch 'integration' into memory_api 2025-09-05 22:15:46 -05:00
J. Nick Koston
f2dede2861 Merge branch 'integration' into memory_api 2025-09-05 22:14:32 -05:00
J. Nick Koston
a6d43b5ec9 warnings strings flash 2025-09-05 21:49:19 -05:00
J. Nick Koston
a26c769b96 Merge branch 'integration' into memory_api 2025-09-05 21:28:09 -05:00
J. Nick Koston
bf7ac26ab1 Merge branch 'integration' into memory_api 2025-09-05 17:20:13 -05:00
J. Nick Koston
8e468ff645 Merge branch 'integration' into memory_api 2025-09-05 17:11:30 -05:00
J. Nick Koston
a891b34b01 Merge branch 'integration' into memory_api 2025-09-05 14:40:56 -05:00
J. Nick Koston
48d9de7f24 Merge branch 'integration' into memory_api 2025-09-05 13:53:51 -05:00
J. Nick Koston
7ffe6459f6 Merge branch 'integration' into memory_api 2025-09-05 13:36:33 -05:00
J. Nick Koston
f6b97d3977 Merge branch 'logger_esp8266_progmem' into memory_api 2025-09-05 13:27:37 -05:00
J. Nick Koston
ce9cf27ca5 Merge branch 'integration' into memory_api 2025-09-05 13:10:56 -05:00
J. Nick Koston
2f7c1601e3 Merge branch 'integration' into memory_api 2025-09-05 13:02:18 -05:00
J. Nick Koston
bb5a973fdf Merge branch 'integration' into memory_api 2025-09-05 11:34:19 -05:00
J. Nick Koston
ba2f6027fb Merge branch 'state_class_to_string_flash' into memory_api 2025-09-05 11:34:06 -05:00
J. Nick Koston
ed7cbb9111 Merge branch 'integration' into memory_api 2025-09-05 11:20:33 -05:00
J. Nick Koston
b5dea4549c Merge branch 'integration' into memory_api 2025-09-05 11:17:17 -05:00
J. Nick Koston
c8d575aab7 revert 2025-09-05 11:15:09 -05:00
J. Nick Koston
9b882a8792 Merge branch 'integration' into memory_api 2025-09-05 11:12:43 -05:00
J. Nick Koston
210680a4cb Merge branch 'integration' into memory_api 2025-09-05 11:06:50 -05:00
J. Nick Koston
c6f8aa45eb Merge branch 'integration' into memory_api 2025-09-05 10:45:36 -05:00
J. Nick Koston
def3992af5 Merge branch 'integration' into memory_api 2025-09-05 10:43:11 -05:00
J. Nick Koston
f28691edb4 Merge branch 'integration' into memory_api 2025-09-05 10:39:27 -05:00
J. Nick Koston
4b57f1e619 beginResponse_P 2025-09-05 10:38:58 -05:00
J. Nick Koston
f9d3cddd23 Merge branch 'integration' into memory_api 2025-09-05 10:34:18 -05:00
J. Nick Koston
b7ef1cd7d4 Merge branch 'integration' into memory_api 2025-09-05 10:26:16 -05:00
J. Nick Koston
40794bca78 Merge branch 'logger_esp8266_progmem' into memory_api 2025-09-05 10:20:37 -05:00
J. Nick Koston
f4f1b9d8c3 Merge branch 'integration' into memory_api 2025-09-05 10:19:29 -05:00
J. Nick Koston
8c90675eb2 Merge branch 'integration' into memory_api 2025-09-05 10:12:10 -05:00
J. Nick Koston
51c29f7c61 Merge branch 'integration' into memory_api 2025-09-05 09:43:38 -05:00
J. Nick Koston
5760d5c995 Merge branch 'integration' into memory_api 2025-09-05 09:22:50 -05:00
J. Nick Koston
62fbda4cc3 Merge branch 'integration' into memory_api 2025-09-05 09:14:09 -05:00
J. Nick Koston
33697e95ac Merge branch 'captive_portal_progmem_8266' into memory_api 2025-09-05 08:43:02 -05:00
J. Nick Koston
894bbd27c3 Merge branch 'integration' into memory_api 2025-09-05 08:32:09 -05:00
J. Nick Koston
eb666324fe Merge branch 'integration' into memory_api 2025-09-04 23:32:23 -05:00
J. Nick Koston
2433ac4821 Merge branch 'integration' into memory_api 2025-09-04 22:58:41 -05:00
J. Nick Koston
cf7140ce1a Merge branch 'integration' into memory_api 2025-09-04 22:29:59 -05:00
J. Nick Koston
f762d3a6e2 Merge branch 'integration' into memory_api 2025-09-04 21:42:14 -05:00
J. Nick Koston
d5f855004e Merge branch 'integration' into memory_api 2025-09-04 14:45:52 -05:00
J. Nick Koston
025da5ac30 Merge branch 'integration' into memory_api 2025-09-04 14:40:26 -05:00
J. Nick Koston
ed0b1b02ed Merge branch 'integration' into memory_api 2025-09-04 13:51:40 -05:00
J. Nick Koston
2b4bf270fd Merge branch 'integration' into memory_api 2025-09-04 13:49:39 -05:00
J. Nick Koston
feecc734fb update docs 2025-09-04 13:49:10 -05:00
J. Nick Koston
a6ed4bb844 Merge branch 'integration' into memory_api 2025-09-04 13:27:13 -05:00
J. Nick Koston
56652ce763 Merge branch 'integration' into memory_api 2025-09-04 13:10:35 -05:00
J. Nick Koston
42c8624f95 Merge branch 'integration' into memory_api 2025-09-04 13:09:32 -05:00
J. Nick Koston
1528c06599 Merge branch 'integration' into memory_api 2025-09-04 13:05:31 -05:00
J. Nick Koston
2d409b017e Merge branch 'optimize_pcf8574' into memory_api 2025-09-04 13:05:15 -05:00
J. Nick Koston
20d3e4a1b8 Merge branch 'integration' into memory_api 2025-09-04 13:05:08 -05:00
J. Nick Koston
f5dbc44662 Merge branch 'optimize_pcf8574' into memory_api 2025-09-04 12:24:02 -05:00
J. Nick Koston
ec88aefebf Merge branch 'integration' into memory_api 2025-09-04 11:21:29 -05:00
J. Nick Koston
0585f05d90 Merge branch 'optimize_pcf8574' into memory_api 2025-09-04 11:20:27 -05:00
J. Nick Koston
526ba902ae Merge branch 'integration' into memory_api 2025-09-04 11:04:30 -05:00
J. Nick Koston
888a1539c5 Merge branch 'integration' into memory_api 2025-09-04 10:56:08 -05:00
J. Nick Koston
52ce1f8985 Merge branch 'integration' into memory_api 2025-09-04 10:53:37 -05:00
J. Nick Koston
30ed4717de Merge branch 'integration' into memory_api 2025-09-04 10:43:24 -05:00
J. Nick Koston
b0ec9abbc4 Merge branch 'i2c_std_vector_heap' into memory_api 2025-09-04 10:14:22 -05:00
J. Nick Koston
b1413ac0e0 Merge branch 'integration' into memory_api 2025-09-04 09:06:59 -05:00
J. Nick Koston
049606607a Merge branch 'ota_esp8266_logstr' into memory_api 2025-09-04 09:02:48 -05:00
J. Nick Koston
b5df54d900 Merge branch 'integration' into memory_api 2025-09-04 08:58:18 -05:00
J. Nick Koston
85314be7a2 Merge branch 'logger_8266_str_to_flash' into memory_api 2025-09-04 08:53:18 -05:00
J. Nick Koston
a58b7abde7 Merge branch 'integration' into memory_api 2025-09-04 08:37:41 -05:00
J. Nick Koston
85a4a61d14 [i2c] Optimize memory usage with stack allocation for small buffers 2025-09-04 08:07:22 -05:00
J. Nick Koston
e1b9b57cd7 Merge branch 'esp8266_gpio_progmem' into memory_api 2025-09-03 22:58:53 -05:00
J. Nick Koston
7587be3dfd Merge branch 'integration' into memory_api 2025-09-03 22:57:33 -05:00
J. Nick Koston
28c2af69ea Merge branch 'integration' into memory_api 2025-09-03 22:56:34 -05:00
J. Nick Koston
2d3243d631 Revert "[esp8266] Store component source strings in PROGMEM to save RAM"
This reverts commit ea01cc598b.
2025-09-03 22:16:59 -05:00
J. Nick Koston
105e94db2e Revert "preen"
This reverts commit da9a7c41d1.
2025-09-03 22:16:41 -05:00
J. Nick Koston
32fec42130 Merge branch 'integration' into memory_api 2025-09-03 22:06:30 -05:00
J. Nick Koston
4766abc461 Merge branch 'integration' into memory_api 2025-09-03 19:11:03 -05:00
J. Nick Koston
e453da6161 Merge remote-tracking branch 'origin/esp8266_prefs' into memory_api 2025-09-03 19:10:44 -05:00
J. Nick Koston
2d2ca0de52 Merge branch 'integration' into memory_api 2025-09-03 18:41:23 -05:00
J. Nick Koston
9495a885ed Merge branch 'integration' into memory_api 2025-09-03 17:56:30 -05:00
J. Nick Koston
6c3dba06ba Merge branch 'integration' into memory_api 2025-09-03 16:37:56 -05:00
J. Nick Koston
9d7f606a39 explain why its safe 2025-09-03 16:34:47 -05:00
J. Nick Koston
93c453c8f9 Merge branch 'integration' into memory_api 2025-09-03 16:23:14 -05:00
J. Nick Koston
a9bd37bacd Merge branch 'integration' into memory_api 2025-09-02 23:32:49 -05:00
J. Nick Koston
2080f881da Merge branch 'integration' into memory_api 2025-09-02 10:18:22 -05:00
J. Nick Koston
4eb744d05e Merge branch 'integration' into memory_api 2025-09-02 10:11:55 -05:00
J. Nick Koston
1855877abe Merge branch 'integration' into memory_api 2025-09-02 08:00:14 -05:00
J. Nick Koston
d738962d8d Merge branch 'integration' into memory_api 2025-09-01 23:14:34 -05:00
J. Nick Koston
64a2b688a5 Merge branch 'integration' into memory_api 2025-09-01 22:34:38 -05:00
J. Nick Koston
9ebdfde287 Merge branch 'integration' into memory_api 2025-08-29 22:11:17 -05:00
J. Nick Koston
bcea7e9fb1 Merge branch 'integration' into memory_api 2025-08-29 10:49:02 -05:00
J. Nick Koston
c828941e16 Merge branch 'integration' into memory_api 2025-08-28 13:13:27 -05:00
J. Nick Koston
c90b4c0f81 Merge branch 'integration' into memory_api 2025-08-27 09:47:26 -05:00
J. Nick Koston
2f699b3c20 Merge branch 'integration' into memory_api 2025-08-27 09:47:03 -05:00
J. Nick Koston
001d05b8f2 Merge branch 'integration' into memory_api 2025-08-26 18:22:10 -05:00
J. Nick Koston
a61300b82f Merge branch 'integration' into memory_api 2025-08-26 17:22:56 -05:00
J. Nick Koston
9e0600ec45 Merge branch 'integration' into memory_api 2025-08-26 16:34:04 -05:00
J. Nick Koston
b871456c1e Merge branch 'integration' into memory_api 2025-08-23 16:19:19 -05:00
J. Nick Koston
e44eb59e3c Merge branch 'integration' into memory_api 2025-08-22 08:52:52 -05:00
J. Nick Koston
101d98014d Merge branch 'integration' into memory_api 2025-08-21 21:47:24 -05:00
J. Nick Koston
082f795adc Merge branch 'integration' into memory_api 2025-08-21 20:27:21 -05:00
J. Nick Koston
3ac5285515 Merge branch 'integration' into memory_api 2025-08-21 09:00:18 -05:00
J. Nick Koston
2993940e1d Merge branch 'integration' into memory_api 2025-08-21 08:25:28 -05:00
J. Nick Koston
db96cfaf14 Merge branch 'integration' into memory_api 2025-08-21 08:12:51 -05:00
J. Nick Koston
bad7b0598b Merge branch 'integration' into memory_api 2025-08-20 20:26:20 -05:00
J. Nick Koston
b4f0d4b0c3 Merge branch 'integration' into memory_api 2025-08-20 20:24:31 -05:00
J. Nick Koston
df7c2473c1 Merge branch 'integration' into memory_api 2025-08-20 20:07:21 -05:00
J. Nick Koston
dde1cec3ce Merge branch 'integration' into memory_api 2025-08-20 14:54:39 -05:00
J. Nick Koston
3c6a54bb70 Merge branch 'integration' into memory_api 2025-08-20 13:26:15 -05:00
J. Nick Koston
6fd46966e2 Merge branch 'integration' into memory_api 2025-08-20 08:07:50 -05:00
J. Nick Koston
558cdda8a4 Merge branch 'integration' into memory_api 2025-08-20 08:06:47 -05:00
J. Nick Koston
856ffc2e86 Merge branch 'integration' into memory_api 2025-08-20 07:46:07 -05:00
J. Nick Koston
518443606c Merge branch 'integration' into memory_api 2025-08-19 21:53:35 -05:00
J. Nick Koston
72dd419c49 Merge branch 'integration' into memory_api 2025-08-19 21:52:31 -05:00
J. Nick Koston
997223c93e Merge branch 'integration' into memory_api 2025-08-19 21:43:20 -05:00
J. Nick Koston
d1b9902e41 Merge branch 'integration' into memory_api 2025-08-19 15:38:10 -05:00
J. Nick Koston
c5998690ba Merge branch 'integration' into memory_api 2025-08-19 09:48:25 -05:00
J. Nick Koston
db10185c7e Merge branch 'integration' into memory_api 2025-08-18 21:07:11 -05:00
J. Nick Koston
7f34757ded Merge branch 'integration' into memory_api 2025-08-18 20:03:00 -05:00
J. Nick Koston
bbd5ab1340 Merge branch 'integration' into memory_api 2025-08-18 18:33:43 -05:00
J. Nick Koston
67ae6ce00a tweak 2025-08-18 17:36:20 -05:00
J. Nick Koston
24cee8ae03 tweak 2025-08-18 17:35:21 -05:00
J. Nick Koston
58a9944601 tweak 2025-08-18 17:34:08 -05:00
J. Nick Koston
a999540d4b Merge branch 'integration' into memory_api 2025-08-18 17:13:49 -05:00
J. Nick Koston
727e04c424 Merge branch 'integration' into memory_api 2025-08-18 14:37:37 -05:00
J. Nick Koston
3d03053eb5 Merge branch 'optimize_safemode_flash' into memory_api 2025-08-18 12:42:22 -05:00
J. Nick Koston
8332893661 Merge branch 'integration' into memory_api 2025-08-18 11:06:58 -05:00
J. Nick Koston
54696eac67 Merge branch 'integration' into memory_api 2025-08-18 09:02:43 -05:00
J. Nick Koston
dbda2d5b6a Merge branch 'integration' into memory_api 2025-08-18 08:29:23 -05:00
J. Nick Koston
7e67f0432d Merge branch 'integration' into memory_api 2025-08-18 01:07:43 -05:00
J. Nick Koston
c9932342eb Merge branch 'integration' into memory_api 2025-08-18 01:01:20 -05:00
J. Nick Koston
f556ab1515 Merge branch 'frame_helper_opt' into memory_api 2025-08-18 00:57:04 -05:00
J. Nick Koston
cb157822d0 Merge branch 'decode_cleanup' into memory_api 2025-08-17 22:22:50 -05:00
J. Nick Koston
4ee84b6d53 Merge remote-tracking branch 'origin/libretiny_no_vector' into memory_api 2025-08-17 21:40:59 -05:00
J. Nick Koston
0a483012ae Update esphome/components/libretiny/preferences.cpp 2025-08-17 21:40:45 -05:00
J. Nick Koston
b12666f356 Merge branch 'integration' into memory_api 2025-08-17 21:38:18 -05:00
J. Nick Koston
a82eeabbc8 Merge branch 'libretiny_no_vector' into memory_api 2025-08-17 21:37:42 -05:00
J. Nick Koston
2b23899750 Merge branch 'integration' into memory_api 2025-08-17 21:15:01 -05:00
J. Nick Koston
b0e8aba426 Merge branch 'integration' into memory_api 2025-08-17 21:13:44 -05:00
J. Nick Koston
17467150d8 Merge branch 'integration' into memory_api 2025-08-17 08:43:10 -04:00
J. Nick Koston
1666aae105 Merge branch 'integration' into memory_api 2025-08-16 09:45:27 -04:00
J. Nick Koston
82d7255a16 Merge branch 'integration' into memory_api 2025-08-15 21:36:21 -04:00
J. Nick Koston
769a874d33 Merge branch 'integration' into memory_api 2025-08-15 21:16:44 -04:00
J. Nick Koston
15d1e1f8dd Merge branch 'integration' into memory_api 2025-08-15 15:05:19 -05:00
J. Nick Koston
e4a6dcd9c7 Merge branch 'integration' into memory_api 2025-08-15 12:33:32 -05:00
J. Nick Koston
9f8f1f5bc9 Merge branch 'integration' into memory_api 2025-08-15 09:54:57 -05:00
J. Nick Koston
57b4c65c6c Merge branch 'integration' into memory_api 2025-08-15 00:59:09 -05:00
J. Nick Koston
ce328bc9b9 Merge branch 'integration' into memory_api 2025-08-14 23:49:39 -05:00
J. Nick Koston
306f7263b2 Merge branch 'integration' into memory_api 2025-08-14 23:39:56 -05:00
J. Nick Koston
d2faac10a5 Merge branch 'integration' into memory_api 2025-08-14 23:01:08 -05:00
J. Nick Koston
7b46be523a Merge branch 'integration' into memory_api 2025-08-14 22:42:39 -05:00
J. Nick Koston
3585ed185f Merge branch 'integration' into memory_api 2025-08-14 22:22:14 -05:00
J. Nick Koston
1bd458c868 Merge branch 'integration' into memory_api 2025-08-14 22:14:23 -05:00
J. Nick Koston
9f22de449a Merge branch 'integration' into memory_api 2025-08-14 21:20:40 -05:00
J. Nick Koston
bf4070ad75 Merge branch 'integration' into memory_api 2025-08-14 21:04:59 -05:00
J. Nick Koston
00ae0fea31 Merge branch 'integration' into memory_api 2025-08-14 20:29:21 -05:00
J. Nick Koston
0d288ceef3 Merge branch 'integration' into memory_api 2025-08-14 17:46:43 -05:00
J. Nick Koston
40d35f3dff Merge branch 'integration' into memory_api 2025-08-14 16:32:51 -05:00
J. Nick Koston
4d0049aa62 Merge branch 'integration' into memory_api 2025-08-14 16:04:37 -05:00
J. Nick Koston
256f81f514 Merge branch 'clean_comp_removed' into memory_api 2025-08-14 15:59:52 -05:00
J. Nick Koston
c0c1b4738a Merge branch 'integration' into memory_api 2025-08-14 14:21:14 -05:00
J. Nick Koston
93c90124ee Merge branch 'integration' into memory_api 2025-08-14 10:07:27 -05:00
J. Nick Koston
6dd818a320 Merge branch 'integration' into memory_api 2025-08-14 09:41:12 -05:00
J. Nick Koston
6e9fb8201b Merge branch 'integration' into memory_api 2025-08-13 23:10:18 -05:00
J. Nick Koston
6fc0831762 Merge branch 'integration' into memory_api 2025-08-13 23:01:43 -05:00
J. Nick Koston
62a2b5e736 Merge branch 'integration' into memory_api 2025-08-13 22:46:00 -05:00
J. Nick Koston
3bf8624b87 Merge remote-tracking branch 'upstream/dev' into memory_api 2025-08-13 21:43:55 -05:00
J. Nick Koston
0c92dc77ad Merge branch 'integration' into memory_api 2025-08-13 11:24:22 -05:00
J. Nick Koston
bb6ce91c9d Merge branch 'integration' into memory_api 2025-08-12 21:03:55 -05:00
J. Nick Koston
9238916b32 one more 2025-08-12 20:22:10 -05:00
J. Nick Koston
ed9e717703 Merge branch 'integration' into memory_api 2025-08-12 19:33:42 -05:00
J. Nick Koston
1c409e1b51 Merge branch 'integration' into memory_api 2025-08-12 15:34:36 -05:00
J. Nick Koston
daa7633ebb Merge branch 'integration' into memory_api 2025-08-11 17:22:09 -05:00
J. Nick Koston
0813362ea8 Merge branch 'integration' into memory_api 2025-08-11 14:53:48 -05:00
J. Nick Koston
4b62f48e12 Merge branch 'integration' into memory_api 2025-08-11 14:37:19 -05:00
J. Nick Koston
11dd8ccd1e Merge branch 'integration' into memory_api 2025-08-11 13:29:31 -05:00
J. Nick Koston
073957a310 Merge branch 'integration' into memory_api 2025-08-11 00:44:05 -05:00
J. Nick Koston
cfe2bfea92 Merge branch 'integration' into memory_api 2025-08-11 00:09:51 -05:00
J. Nick Koston
336fea4251 Merge branch 'integration' into memory_api 2025-08-10 19:29:03 -05:00
J. Nick Koston
6f817fd06a Merge branch 'integration' into memory_api 2025-08-10 19:09:54 -05:00
J. Nick Koston
7c0856c460 Merge branch 'integration' into memory_api 2025-08-10 18:54:14 -05:00
J. Nick Koston
3cc916b9d8 Merge branch 'integration' into memory_api 2025-08-10 18:47:30 -05:00
J. Nick Koston
bcd4386fe4 Merge branch 'integration' into memory_api 2025-08-10 18:36:04 -05:00
J. Nick Koston
cd5f7fdc98 preen 2025-08-10 18:03:56 -05:00
J. Nick Koston
8ca671ad6f Merge branch 'integration' into memory_api 2025-08-10 17:53:46 -05:00
J. Nick Koston
3edb1e0726 Merge branch 'integration' into memory_api 2025-08-10 12:41:54 -05:00
J. Nick Koston
7ff8094be2 Merge branch 'integration' into memory_api 2025-08-10 11:12:57 -05:00
J. Nick Koston
5394ee37f9 Merge branch 'integration' into memory_api 2025-08-09 21:02:17 -05:00
J. Nick Koston
6aedcab37e Merge branch 'integration' into memory_api 2025-08-09 20:52:47 -05:00
J. Nick Koston
5b91c5f043 Merge branch 'integration' into memory_api 2025-08-09 20:46:51 -05:00
J. Nick Koston
233882e1c2 Merge branch 'integration' into memory_api 2025-08-09 14:06:01 -05:00
J. Nick Koston
48a94b686d Merge branch 'integration' into memory_api 2025-08-08 16:23:20 -05:00
J. Nick Koston
c982e35189 Merge branch 'integration' into memory_api 2025-08-08 16:05:26 -05:00
J. Nick Koston
61fbf7cd81 Merge branch 'integration' into memory_api 2025-08-07 12:55:44 -10:00
J. Nick Koston
760add7d29 Merge branch 'integration' into memory_api 2025-08-07 12:39:23 -10:00
J. Nick Koston
3f31bcacad Merge branch 'integration' into memory_api 2025-08-07 10:28:59 -10:00
J. Nick Koston
75249775ee Merge branch 'integration' into memory_api 2025-08-07 09:57:32 -10:00
J. Nick Koston
2ff418c8f9 Merge branch 'integration' into memory_api 2025-08-07 09:44:14 -10:00
J. Nick Koston
fb86bd05db Merge branch 'integration' into memory_api 2025-08-06 22:42:38 -10:00
J. Nick Koston
431a8dd374 Merge branch 'integration' into memory_api 2025-08-06 22:04:44 -10:00
J. Nick Koston
9841d7cf87 Merge branch 'integration' into memory_api 2025-08-06 17:31:53 -10:00
J. Nick Koston
28d2c86a91 Merge branch 'dev' into memory_api 2025-08-06 14:08:07 -10:00
J. Nick Koston
5e8768084b Merge branch 'integration' into memory_api 2025-08-06 10:56:41 -10:00
J. Nick Koston
e29b04bcfe Merge branch 'integration' into memory_api 2025-08-06 10:45:16 -10:00
J. Nick Koston
ddb1fcd0f9 preen 2025-08-06 10:39:44 -10:00
J. Nick Koston
2327c5bddf Merge branch 'integration' into memory_api 2025-08-06 10:28:49 -10:00
J. Nick Koston
2cdf50a025 tweak 2025-08-06 10:11:28 -10:00
J. Nick Koston
b75719d37e Merge branch 'integration' into memory_api 2025-08-06 10:03:29 -10:00
J. Nick Koston
27397593c1 Merge branch 'integration' into memory_api 2025-08-06 07:47:47 -10:00
J. Nick Koston
5511dae2fa Merge branch 'integration' into memory_api 2025-08-06 07:38:12 -10:00
J. Nick Koston
e1cb364436 Merge branch 'integration' into memory_api 2025-08-06 07:31:43 -10:00
J. Nick Koston
e5a1820708 Merge branch 'integration' into memory_api 2025-08-06 07:09:31 -10:00
J. Nick Koston
c667218f3f Merge branch 'conditional_compile_ble_adv' into memory_api 2025-08-05 22:22:42 -10:00
J. Nick Koston
2da1974a80 Merge branch 'integration' into memory_api 2025-08-05 22:02:28 -10:00
J. Nick Koston
ba713737bc Merge branch 'integration' into memory_api 2025-08-05 21:36:58 -10:00
J. Nick Koston
096b9c9651 Merge branch 'integration' into memory_api 2025-08-05 20:54:21 -10:00
J. Nick Koston
7e288126fa Merge branch 'integration' into memory_api 2025-08-05 20:30:40 -10:00
J. Nick Koston
addeec572a Merge branch 'integration' into memory_api 2025-08-05 17:26:40 -10:00
J. Nick Koston
c253eb2362 Merge branch 'integration' into memory_api 2025-08-05 17:06:06 -10:00
J. Nick Koston
eea84a43d6 Merge branch 'integration' into memory_api 2025-08-05 17:02:43 -10:00
J. Nick Koston
7344ff6941 merge 2025-08-04 21:50:36 -10:00
J. Nick Koston
2b5d035c39 Merge branch 'integration' into memory_api 2025-08-04 21:49:10 -10:00
J. Nick Koston
89cf81baaa Merge branch 'integration' into memory_api 2025-08-04 20:06:47 -10:00
J. Nick Koston
1c7200545b Merge branch 'integration' into memory_api 2025-08-04 16:52:44 -10:00
J. Nick Koston
3bbd3acea6 Merge branch 'integration' into memory_api 2025-08-04 16:26:55 -10:00
J. Nick Koston
9e1054cb87 Merge branch 'integration' into memory_api 2025-08-04 15:25:44 -10:00
J. Nick Koston
df83205997 Merge branch 'integration' into memory_api 2025-08-04 11:17:58 -10:00
J. Nick Koston
c6aeeb98b6 Merge branch 'integration' into memory_api 2025-08-04 11:10:01 -10:00
J. Nick Koston
2facd1b436 Cleanup esp32_ble_tracker 2025-08-04 09:18:30 -10:00
J. Nick Koston
d4ff83bf6e Merge branch 'integration' into memory_api 2025-08-04 08:52:25 -10:00
J. Nick Koston
15790145b2 Merge branch 'integration' into memory_api 2025-08-03 22:31:55 -10:00
J. Nick Koston
1d3cd0500e Merge branch 'integration' into memory_api 2025-08-03 22:20:15 -10:00
J. Nick Koston
5062bab73f Merge branch 'integration' into memory_api 2025-08-03 22:17:25 -10:00
J. Nick Koston
cccbe4293b Merge branch 'integration' into memory_api 2025-08-03 21:42:00 -10:00
J. Nick Koston
5126aefe13 Merge branch 'integration' into memory_api 2025-08-03 21:23:05 -10:00
J. Nick Koston
3a99929619 Merge branch 'integration' into memory_api 2025-08-03 21:02:31 -10:00
J. Nick Koston
a645c02476 Merge branch 'integration' into memory_api 2025-08-03 20:58:39 -10:00
J. Nick Koston
5ddf32b0a6 Merge branch 'integration' into memory_api 2025-08-03 19:32:46 -10:00
J. Nick Koston
85fd10f06e Merge branch 'integration' into memory_api 2025-08-03 18:06:01 -10:00
J. Nick Koston
a6c8651298 Merge branch 'integration' into memory_api 2025-08-03 16:31:11 -10:00
J. Nick Koston
7a7132f1c8 Merge branch 'integration' into memory_api 2025-08-03 16:16:40 -10:00
J. Nick Koston
367e35771e Merge branch 'integration' into memory_api 2025-08-03 15:51:48 -10:00
J. Nick Koston
27d66e5cfe Merge branch 'integration' into memory_api 2025-08-03 15:45:56 -10:00
J. Nick Koston
ef33d36d63 Merge branch 'integration' into memory_api 2025-08-03 15:04:46 -10:00
J. Nick Koston
e95baa67d5 Merge branch 'integration' into memory_api 2025-08-03 13:55:26 -10:00
J. Nick Koston
a86c0b66c8 Merge branch 'unregister_fd_flash' into memory_api 2025-08-02 22:45:29 -10:00
J. Nick Koston
f34e7a0051 Merge branch 'integration' into memory_api 2025-08-02 22:03:23 -10:00
J. Nick Koston
be701c58e1 Merge branch 'integration' into memory_api 2025-08-02 15:57:31 -10:00
J. Nick Koston
5d6a152c45 Merge branch 'integration' into memory_api 2025-08-02 15:37:27 -10:00
J. Nick Koston
7faded49d3 Merge branch 'integration' into memory_api 2025-08-02 14:23:48 -10:00
J. Nick Koston
5f0e1f8ab5 Merge branch 'integration' into memory_api 2025-08-02 13:01:22 -10:00
J. Nick Koston
3ef334c882 Merge branch 'integration' into memory_api 2025-08-02 12:54:39 -10:00
J. Nick Koston
ade5aba423 Merge branch 'integration' into memory_api 2025-08-02 12:47:00 -10:00
J. Nick Koston
178910d15e Merge branch 'integration' into memory_api 2025-08-02 12:04:28 -10:00
J. Nick Koston
18dca1a07d Merge branch 'integration' into memory_api 2025-08-02 10:30:55 -10:00
J. Nick Koston
79bc7ba206 Merge branch 'integration' into memory_api 2025-08-02 10:05:56 -10:00
J. Nick Koston
aa33baf5a2 Merge branch 'integration' into memory_api 2025-08-02 09:47:48 -10:00
J. Nick Koston
466f8d2050 remove test 2025-08-02 07:53:14 -10:00
J. Nick Koston
90b68d6fa0 Merge branch 'integration' into memory_api 2025-08-02 00:00:58 -10:00
J. Nick Koston
37827c1272 Merge branch 'integration' into memory_api 2025-08-01 23:08:30 -10:00
J. Nick Koston
9088790e63 Merge branch 'integration' into memory_api 2025-08-01 23:00:24 -10:00
J. Nick Koston
fdb437deb2 Merge branch 'integration' into memory_api 2025-08-01 22:39:01 -10:00
J. Nick Koston
9b3ee6936d Merge branch 'integration' into memory_api 2025-08-01 21:26:51 -10:00
J. Nick Koston
72d0660261 Merge branch 'integration' into memory_api 2025-08-01 21:26:29 -10:00
J. Nick Koston
9d0df67a9e Merge branch 'integration' into memory_api 2025-08-01 20:33:14 -10:00
J. Nick Koston
18fb3618a0 Merge branch 'integration' into memory_api 2025-08-01 15:41:50 -10:00
J. Nick Koston
4019bf9027 Merge branch 'integration' into memory_api 2025-08-01 15:36:16 -10:00
J. Nick Koston
082e365f82 Merge branch 'integration' into memory_api 2025-08-01 15:00:49 -10:00
J. Nick Koston
9005767b67 Merge branch 'integration' into memory_api 2025-08-01 14:13:33 -10:00
J. Nick Koston
1c469747d4 Merge branch 'integration' into memory_api 2025-08-01 13:01:25 -10:00
J. Nick Koston
7d1a816c5e Merge branch 'integration' into memory_api 2025-08-01 12:47:49 -10:00
J. Nick Koston
1a55885fc3 Merge branch 'integration' into memory_api 2025-08-01 11:21:24 -10:00
J. Nick Koston
9f52caf3b6 Merge branch 'integration' into memory_api 2025-08-01 11:19:46 -10:00
J. Nick Koston
7667325788 Merge branch 'integration' into memory_api 2025-08-01 11:17:16 -10:00
J. Nick Koston
ee7c44c3b0 Merge branch 'integration' into memory_api 2025-08-01 11:06:26 -10:00
J. Nick Koston
e079e46d99 Merge branch 'bluetooth_connection_churn' into memory_api 2025-08-01 11:06:24 -10:00
J. Nick Koston
f7c7aa9f9a Merge branch 'integration' into memory_api 2025-08-01 10:43:58 -10:00
J. Nick Koston
f3a57bd248 Merge branch 'integration' into memory_api 2025-07-31 11:51:50 -10:00
J. Nick Koston
038548500c Merge branch 'integration' into memory_api 2025-07-31 11:45:32 -10:00
J. Nick Koston
5d0323d6ea Merge branch 'btp_uuids_dynamic_services_sq' into memory_api 2025-07-31 11:45:28 -10:00
J. Nick Koston
6d40866231 Merge branch 'integration' into memory_api 2025-07-31 11:44:07 -10:00
J. Nick Koston
abb775fc53 Merge branch 'integration' into memory_api 2025-07-31 11:37:40 -10:00
J. Nick Koston
ce6aee873f Merge branch 'integration' into memory_api 2025-07-31 11:27:15 -10:00
J. Nick Koston
3988b48708 Merge branch 'btp_uuids' into memory_api 2025-07-31 05:15:41 -10:00
J. Nick Koston
ccae1bbe15 Merge branch 'integration' into memory_api 2025-07-31 04:17:55 -10:00
J. Nick Koston
6f4a8100ef Merge branch 'integration' into memory_api 2025-07-30 19:26:41 -10:00
J. Nick Koston
383f54810c Merge branch 'fix_normal_opts' into memory_api 2025-07-30 16:12:47 -10:00
J. Nick Koston
77677f3edc Merge branch 'integration' into memory_api 2025-07-30 15:39:40 -10:00
J. Nick Koston
caa9f6fdc7 Merge branch 'integration' into memory_api 2025-07-30 15:00:31 -10:00
J. Nick Koston
093e8093f5 Merge branch 'integration' into memory_api 2025-07-30 14:54:05 -10:00
J. Nick Koston
de51f0f205 Merge branch 'integration' into memory_api 2025-07-30 13:18:01 -10:00
J. Nick Koston
07bc41a900 Merge branch 'integration' into memory_api 2025-07-30 09:43:05 -10:00
J. Nick Koston
1600ab58a1 Merge branch 'integration' into memory_api 2025-07-30 00:12:36 -10:00
J. Nick Koston
24174c3eed Merge branch 'integration' into memory_api 2025-07-29 22:55:46 -10:00
J. Nick Koston
4441d0ea8d Merge branch 'integration' into memory_api 2025-07-29 15:53:43 -10:00
J. Nick Koston
4aec2a95f2 Merge branch 'integration' into memory_api 2025-07-29 14:58:15 -10:00
J. Nick Koston
579c6c57e0 Merge branch 'service_discovery' into memory_api 2025-07-29 14:32:55 -10:00
J. Nick Koston
ff1239c2a4 Merge branch 'integration' into memory_api 2025-07-29 14:27:04 -10:00
J. Nick Koston
53d68abf79 Merge branch 'integration' into memory_api 2025-07-29 10:17:46 -10:00
J. Nick Koston
11f0d0015c Merge branch 'integration' into memory_api 2025-07-29 09:55:31 -10:00
J. Nick Koston
2537c4437f cleanup 2025-07-29 07:15:12 -10:00
J. Nick Koston
9133554588 Merge branch 'integration' into memory_api 2025-07-29 07:06:56 -10:00
J. Nick Koston
e222232376 Merge branch 'integration' into memory_api 2025-07-29 07:04:07 -10:00
J. Nick Koston
aeec9a9379 Merge branch 'integration' into memory_api 2025-07-28 22:11:00 -10:00
J. Nick Koston
8b52a9a02e Merge branch 'integration' into memory_api 2025-07-28 22:10:32 -10:00
J. Nick Koston
226d465f6a Merge branch 'integration' into memory_api 2025-07-27 18:50:05 -10:00
J. Nick Koston
81cea0b2eb Merge branch 'integration' into memory_api 2025-07-27 11:36:35 -10:00
J. Nick Koston
0f5aff4d21 Merge branch 'integration' into memory_api 2025-07-27 11:08:21 -10:00
J. Nick Koston
e3b3259243 Merge branch 'integration' into memory_api 2025-07-26 22:15:15 -10:00
J. Nick Koston
9cf0535d39 Merge branch 'integration' into memory_api 2025-07-26 21:55:34 -10:00
J. Nick Koston
eb25ff0de7 Merge branch 'integration' into memory_api 2025-07-26 21:38:04 -10:00
J. Nick Koston
4f30fd9668 Merge branch 'integration' into memory_api 2025-07-26 21:36:16 -10:00
J. Nick Koston
3a49215dd6 preen 2025-07-26 21:18:39 -10:00
J. Nick Koston
dc45bed048 preen 2025-07-26 21:15:53 -10:00
J. Nick Koston
8e6a053ead preen 2025-07-26 21:11:57 -10:00
J. Nick Koston
5cf89f8594 light2 2025-07-26 21:06:39 -10:00
J. Nick Koston
825f3eee70 light2 2025-07-26 21:04:39 -10:00
J. Nick Koston
eec31846e1 Revert "Revert "light2""
This reverts commit b99b0140ae.
2025-07-26 20:50:50 -10:00
J. Nick Koston
b99b0140ae Revert "light2"
This reverts commit af7e43bbc1.
2025-07-26 20:49:51 -10:00
J. Nick Koston
af7e43bbc1 light2 2025-07-26 20:45:21 -10:00
J. Nick Koston
52750f931b light2 2025-07-26 20:42:45 -10:00
J. Nick Koston
446e9bc529 Merge branch 'integration' into memory_api 2025-07-26 20:26:28 -10:00
J. Nick Koston
d9f3ecd1a3 Merge branch 'integration' into memory_api 2025-07-26 17:14:24 -10:00
J. Nick Koston
f9d0fa1c6d Merge branch 'integration' into memory_api 2025-07-26 17:09:53 -10:00
J. Nick Koston
de6686ee14 Merge branch 'integration' into memory_api 2025-07-26 13:11:37 -10:00
J. Nick Koston
cab11086ac Merge branch 'integration' into memory_api 2025-07-25 23:38:30 -10:00
J. Nick Koston
56b00f9bb7 Merge branch 'integration' into memory_api 2025-07-25 23:31:53 -10:00
J. Nick Koston
01101380ee Merge branch 'integration' into memory_api 2025-07-25 23:15:42 -10:00
J. Nick Koston
90908996b1 Merge branch 'integration' into memory_api 2025-07-25 23:13:32 -10:00
J. Nick Koston
a57daa2656 Merge branch 'integration' into memory_api 2025-07-25 23:12:04 -10:00
J. Nick Koston
30b6a683c2 Merge branch 'integration' into memory_api 2025-07-25 21:39:46 -10:00
J. Nick Koston
7976c5e06c Merge branch 'api_ha_services' into memory_api 2025-07-25 21:39:38 -10:00
J. Nick Koston
89c47c0dae Merge branch 'integration' into memory_api 2025-07-25 18:34:24 -10:00
J. Nick Koston
63e5a0b38c Merge branch 'integration' into memory_api 2025-07-25 18:28:03 -10:00
J. Nick Koston
00266e080b merge 2025-07-25 17:39:48 -10:00
J. Nick Koston
711b153a6a revert 2025-07-25 17:32:30 -10:00
J. Nick Koston
ec9b10954c Merge branch 'integration' into memory_api 2025-07-25 17:25:55 -10:00
J. Nick Koston
f0a63313b1 Merge branch 'integration' into memory_api 2025-07-25 17:22:54 -10:00
J. Nick Koston
6c825def9e Merge branch 'integration' into memory_api 2025-07-25 17:15:23 -10:00
J. Nick Koston
793b3de3e9 revert 2025-07-25 16:50:36 -10:00
J. Nick Koston
60d988ca92 Merge branch 'ble_chars' into memory_api 2025-07-25 16:44:40 -10:00
J. Nick Koston
abf94e61f1 Revert "Revert "cleanup""
This reverts commit 7320cd24f0.
2025-07-25 16:43:28 -10:00
J. Nick Koston
7320cd24f0 Revert "cleanup"
This reverts commit 40a3232267.
2025-07-25 16:42:05 -10:00
J. Nick Koston
40a3232267 cleanup 2025-07-25 16:40:09 -10:00
J. Nick Koston
1d22bcac82 cleanup 2025-07-25 16:38:32 -10:00
J. Nick Koston
9dbcb2ea2e Merge branch 'integration' into memory_api 2025-07-25 16:17:31 -10:00
J. Nick Koston
e28c32af15 Merge branch 'integration' into memory_api 2025-07-25 15:37:20 -10:00
J. Nick Koston
ce96c3c105 Merge branch 'integration' into memory_api 2025-07-25 14:48:21 -10:00
J. Nick Koston
6b49813084 Merge branch 'integration' into memory_api 2025-07-25 14:36:23 -10:00
J. Nick Koston
662b5a452e Merge branch 'integration' into memory_api 2025-07-25 13:34:00 -10:00
J. Nick Koston
254c70a420 Merge branch 'integration' into memory_api 2025-07-25 13:28:11 -10:00
J. Nick Koston
436ba20b7f Merge branch 'integration' into memory_api 2025-07-25 12:11:11 -10:00
J. Nick Koston
b68f2b0ae4 Merge remote-tracking branch 'origin/memory_api' into memory_api 2025-07-25 12:08:26 -10:00
J. Nick Koston
4053a88c3a Merge branch 'integration' into memory_api 2025-07-25 12:08:13 -10:00
131 changed files with 488 additions and 461 deletions

View File

@@ -1,6 +1,7 @@
"""CLI interface for memory analysis with report generation."""
from collections import defaultdict
import json
import sys
from . import (
@@ -283,6 +284,28 @@ class MemoryAnalyzerCLI(MemoryAnalyzer):
return "\n".join(lines)
def to_json(self) -> str:
"""Export analysis results as JSON."""
data = {
"components": {
name: {
"text": mem.text_size,
"rodata": mem.rodata_size,
"data": mem.data_size,
"bss": mem.bss_size,
"flash_total": mem.flash_total,
"ram_total": mem.ram_total,
"symbol_count": mem.symbol_count,
}
for name, mem in self.components.items()
},
"totals": {
"flash": sum(c.flash_total for c in self.components.values()),
"ram": sum(c.ram_total for c in self.components.values()),
},
}
return json.dumps(data, indent=2)
def dump_uncategorized_symbols(self, output_file: str | None = None) -> None:
"""Dump uncategorized symbols for analysis."""
# Sort by size descending

View File

@@ -105,7 +105,7 @@ template<typename... Ts> class AGS10NewI2cAddressAction : public Action<Ts...>,
public:
TEMPLATABLE_VALUE(uint8_t, new_address)
void play(Ts... x) override { this->parent_->new_i2c_address(this->new_address_.value(x...)); }
void play(const Ts &...x) override { this->parent_->new_i2c_address(this->new_address_.value(x...)); }
};
enum AGS10SetZeroPointActionMode {
@@ -122,7 +122,7 @@ template<typename... Ts> class AGS10SetZeroPointAction : public Action<Ts...>, p
TEMPLATABLE_VALUE(uint16_t, value)
TEMPLATABLE_VALUE(AGS10SetZeroPointActionMode, mode)
void play(Ts... x) override {
void play(const Ts &...x) override {
switch (this->mode_.value(x...)) {
case FACTORY_DEFAULT:
this->parent_->set_zero_point_with_factory_defaults();

View File

@@ -13,7 +13,7 @@ template<typename... Ts> class SetAutoMuteAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint8_t, auto_mute_mode)
void play(Ts... x) override { this->aic3204_->set_auto_mute_mode(this->auto_mute_mode_.value(x...)); }
void play(const Ts &...x) override { this->aic3204_->set_auto_mute_mode(this->auto_mute_mode_.value(x...)); }
protected:
AIC3204 *aic3204_;

View File

@@ -89,7 +89,7 @@ template<typename... Ts> class ArmAwayAction : public Action<Ts...> {
TEMPLATABLE_VALUE(std::string, code)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->alarm_control_panel_->make_call();
auto code = this->code_.optional_value(x...);
if (code.has_value()) {
@@ -109,7 +109,7 @@ template<typename... Ts> class ArmHomeAction : public Action<Ts...> {
TEMPLATABLE_VALUE(std::string, code)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->alarm_control_panel_->make_call();
auto code = this->code_.optional_value(x...);
if (code.has_value()) {
@@ -129,7 +129,7 @@ template<typename... Ts> class ArmNightAction : public Action<Ts...> {
TEMPLATABLE_VALUE(std::string, code)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->alarm_control_panel_->make_call();
auto code = this->code_.optional_value(x...);
if (code.has_value()) {
@@ -149,7 +149,7 @@ template<typename... Ts> class DisarmAction : public Action<Ts...> {
TEMPLATABLE_VALUE(std::string, code)
void play(Ts... x) override { this->alarm_control_panel_->disarm(this->code_.optional_value(x...)); }
void play(const Ts &...x) override { this->alarm_control_panel_->disarm(this->code_.optional_value(x...)); }
protected:
AlarmControlPanel *alarm_control_panel_;
@@ -159,7 +159,7 @@ template<typename... Ts> class PendingAction : public Action<Ts...> {
public:
explicit PendingAction(AlarmControlPanel *alarm_control_panel) : alarm_control_panel_(alarm_control_panel) {}
void play(Ts... x) override { this->alarm_control_panel_->make_call().pending().perform(); }
void play(const Ts &...x) override { this->alarm_control_panel_->make_call().pending().perform(); }
protected:
AlarmControlPanel *alarm_control_panel_;
@@ -169,7 +169,7 @@ template<typename... Ts> class TriggeredAction : public Action<Ts...> {
public:
explicit TriggeredAction(AlarmControlPanel *alarm_control_panel) : alarm_control_panel_(alarm_control_panel) {}
void play(Ts... x) override { this->alarm_control_panel_->make_call().triggered().perform(); }
void play(const Ts &...x) override { this->alarm_control_panel_->make_call().triggered().perform(); }
protected:
AlarmControlPanel *alarm_control_panel_;
@@ -178,7 +178,7 @@ template<typename... Ts> class TriggeredAction : public Action<Ts...> {
template<typename... Ts> class AlarmControlPanelCondition : public Condition<Ts...> {
public:
AlarmControlPanelCondition(AlarmControlPanel *parent) : parent_(parent) {}
bool check(Ts... x) override {
bool check(const Ts &...x) override {
return this->parent_->is_state_armed(this->parent_->get_state()) ||
this->parent_->get_state() == ACP_STATE_PENDING || this->parent_->get_state() == ACP_STATE_TRIGGERED;
}

View File

@@ -39,7 +39,7 @@ class Animation : public image::Image {
template<typename... Ts> class AnimationNextFrameAction : public Action<Ts...> {
public:
AnimationNextFrameAction(Animation *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->next_frame(); }
void play(const Ts &...x) override { this->parent_->next_frame(); }
protected:
Animation *parent_;
@@ -48,7 +48,7 @@ template<typename... Ts> class AnimationNextFrameAction : public Action<Ts...> {
template<typename... Ts> class AnimationPrevFrameAction : public Action<Ts...> {
public:
AnimationPrevFrameAction(Animation *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->prev_frame(); }
void play(const Ts &...x) override { this->parent_->prev_frame(); }
protected:
Animation *parent_;
@@ -58,7 +58,7 @@ template<typename... Ts> class AnimationSetFrameAction : public Action<Ts...> {
public:
AnimationSetFrameAction(Animation *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(uint16_t, frame)
void play(Ts... x) override { this->parent_->set_frame(this->frame_.value(x...)); }
void play(const Ts &...x) override { this->parent_->set_frame(this->frame_.value(x...)); }
protected:
Animation *parent_;

View File

@@ -237,7 +237,7 @@ extern APIServer *global_api_server; // NOLINT(cppcoreguidelines-avoid-non-cons
template<typename... Ts> class APIConnectedCondition : public Condition<Ts...> {
public:
bool check(Ts... x) override { return global_api_server->is_connected(); }
bool check(const Ts &...x) override { return global_api_server->is_connected(); }
};
} // namespace esphome::api

View File

@@ -133,7 +133,7 @@ template<typename... Ts> class HomeAssistantServiceCallAction : public Action<Ts
Trigger<std::string, Ts...> *get_error_trigger() const { return this->error_trigger_; }
#endif // USE_API_HOMEASSISTANT_ACTION_RESPONSES
void play(Ts... x) override {
void play(const Ts &...x) override {
HomeassistantActionRequest resp;
std::string service_value = this->service_.value(x...);
resp.set_service(StringRef(service_value));

View File

@@ -10,7 +10,7 @@ namespace at581x {
template<typename... Ts> class AT581XResetAction : public Action<Ts...>, public Parented<AT581XComponent> {
public:
void play(Ts... x) { this->parent_->reset_hardware_frontend(); }
void play(const Ts &...x) { this->parent_->reset_hardware_frontend(); }
};
template<typename... Ts> class AT581XSettingsAction : public Action<Ts...>, public Parented<AT581XComponent> {
@@ -25,7 +25,7 @@ template<typename... Ts> class AT581XSettingsAction : public Action<Ts...>, publ
TEMPLATABLE_VALUE(int, trigger_keep)
TEMPLATABLE_VALUE(int, stage_gain)
void play(Ts... x) {
void play(const Ts &...x) {
if (this->frequency_.has_value()) {
int v = this->frequency_.value(x...);
this->parent_->set_frequency(v);

View File

@@ -13,7 +13,7 @@ template<typename... Ts> class SetMicGainAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, mic_gain)
void play(Ts... x) override { this->audio_adc_->set_mic_gain(this->mic_gain_.value(x...)); }
void play(const Ts &...x) override { this->audio_adc_->set_mic_gain(this->mic_gain_.value(x...)); }
protected:
AudioAdc *audio_adc_;

View File

@@ -11,7 +11,7 @@ template<typename... Ts> class MuteOffAction : public Action<Ts...> {
public:
explicit MuteOffAction(AudioDac *audio_dac) : audio_dac_(audio_dac) {}
void play(Ts... x) override { this->audio_dac_->set_mute_off(); }
void play(const Ts &...x) override { this->audio_dac_->set_mute_off(); }
protected:
AudioDac *audio_dac_;
@@ -21,7 +21,7 @@ template<typename... Ts> class MuteOnAction : public Action<Ts...> {
public:
explicit MuteOnAction(AudioDac *audio_dac) : audio_dac_(audio_dac) {}
void play(Ts... x) override { this->audio_dac_->set_mute_on(); }
void play(const Ts &...x) override { this->audio_dac_->set_mute_on(); }
protected:
AudioDac *audio_dac_;
@@ -33,7 +33,7 @@ template<typename... Ts> class SetVolumeAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, volume)
void play(Ts... x) override { this->audio_dac_->set_volume(this->volume_.value(x...)); }
void play(const Ts &...x) override { this->audio_dac_->set_volume(this->volume_.value(x...)); }
protected:
AudioDac *audio_dac_;

View File

@@ -141,7 +141,7 @@ class StateChangeTrigger : public Trigger<optional<bool>, optional<bool> > {
template<typename... Ts> class BinarySensorCondition : public Condition<Ts...> {
public:
BinarySensorCondition(BinarySensor *parent, bool state) : parent_(parent), state_(state) {}
bool check(Ts... x) override { return this->parent_->state == this->state_; }
bool check(const Ts &...x) override { return this->parent_->state == this->state_; }
protected:
BinarySensor *parent_;
@@ -153,7 +153,7 @@ template<typename... Ts> class BinarySensorPublishAction : public Action<Ts...>
explicit BinarySensorPublishAction(BinarySensor *sensor) : sensor_(sensor) {}
TEMPLATABLE_VALUE(bool, state)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto val = this->state_.value(x...);
this->sensor_->publish_state(val);
}
@@ -166,7 +166,7 @@ template<typename... Ts> class BinarySensorInvalidateAction : public Action<Ts..
public:
explicit BinarySensorInvalidateAction(BinarySensor *sensor) : sensor_(sensor) {}
void play(Ts... x) override { this->sensor_->invalidate_state(); }
void play(const Ts &...x) override { this->sensor_->invalidate_state(); }
protected:
BinarySensor *sensor_;

View File

@@ -89,7 +89,7 @@ class BL0906 : public PollingComponent, public uart::UARTDevice {
template<typename... Ts> class ResetEnergyAction : public Action<Ts...>, public Parented<BL0906> {
public:
void play(Ts... x) override { this->parent_->enqueue_action_(&BL0906::reset_energy_); }
void play(const Ts &...x) override { this->parent_->enqueue_action_(&BL0906::reset_energy_); }
};
} // namespace bl0906

View File

@@ -123,9 +123,9 @@ template<typename... Ts> class BLEClientWriteAction : public Action<Ts...>, publ
this->has_simple_value_ = true;
}
void play(Ts... x) override {}
void play(const Ts &...x) override {}
void play_complex(Ts... x) override {
void play_complex(const Ts &...x) override {
this->num_running_++;
this->var_ = std::make_tuple(x...);
auto value = this->has_simple_value_ ? this->value_.simple : this->value_.template_func(x...);
@@ -229,7 +229,7 @@ template<typename... Ts> class BLEClientPasskeyReplyAction : public Action<Ts...
public:
BLEClientPasskeyReplyAction(BLEClient *ble_client) { parent_ = ble_client; }
void play(Ts... x) override {
void play(const Ts &...x) override {
uint32_t passkey;
if (has_simple_value_) {
passkey = this->value_.simple;
@@ -266,7 +266,7 @@ template<typename... Ts> class BLEClientNumericComparisonReplyAction : public Ac
public:
BLEClientNumericComparisonReplyAction(BLEClient *ble_client) { parent_ = ble_client; }
void play(Ts... x) override {
void play(const Ts &...x) override {
esp_bd_addr_t remote_bda;
memcpy(remote_bda, parent_->get_remote_bda(), sizeof(esp_bd_addr_t));
if (has_simple_value_) {
@@ -299,7 +299,7 @@ template<typename... Ts> class BLEClientRemoveBondAction : public Action<Ts...>
public:
BLEClientRemoveBondAction(BLEClient *ble_client) { parent_ = ble_client; }
void play(Ts... x) override {
void play(const Ts &...x) override {
esp_bd_addr_t remote_bda;
memcpy(remote_bda, parent_->get_remote_bda(), sizeof(esp_bd_addr_t));
esp_ble_remove_bond_device(remote_bda);
@@ -334,9 +334,9 @@ template<typename... Ts> class BLEClientConnectAction : public Action<Ts...>, pu
}
// not used since we override play_complex_
void play(Ts... x) override {}
void play(const Ts &...x) override {}
void play_complex(Ts... x) override {
void play_complex(const Ts &...x) override {
// it makes no sense to have multiple instances of this running at the same time.
// this would occur only if the same automation was re-triggered while still
// running. So just cancel the second chain if this is detected.
@@ -379,9 +379,9 @@ template<typename... Ts> class BLEClientDisconnectAction : public Action<Ts...>,
}
// not used since we override play_complex_
void play(Ts... x) override {}
void play(const Ts &...x) override {}
void play_complex(Ts... x) override {
void play_complex(const Ts &...x) override {
this->num_running_++;
if (this->node_state == espbt::ClientState::IDLE) {
this->play_next_(x...);

View File

@@ -11,7 +11,7 @@ template<typename... Ts> class PressAction : public Action<Ts...> {
public:
explicit PressAction(Button *button) : button_(button) {}
void play(Ts... x) override { this->button_->press(); }
void play(const Ts &...x) override { this->button_->press(); }
protected:
Button *button_;

View File

@@ -129,7 +129,7 @@ template<typename... Ts> class CanbusSendAction : public Action<Ts...>, public P
this->remote_transmission_request_ = remote_transmission_request;
}
void play(Ts... x) override {
void play(const Ts &...x) override {
auto can_id = this->can_id_.has_value() ? *this->can_id_ : this->parent_->can_id_;
auto use_extended_id =
this->use_extended_id_.has_value() ? *this->use_extended_id_ : this->parent_->use_extended_id_;

View File

@@ -22,7 +22,7 @@ template<typename... Ts> class ControlAction : public Action<Ts...> {
TEMPLATABLE_VALUE(std::string, custom_preset)
TEMPLATABLE_VALUE(ClimateSwingMode, swing_mode)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->climate_->make_call();
call.set_mode(this->mode_.optional_value(x...));
call.set_target_temperature(this->target_temperature_.optional_value(x...));

View File

@@ -30,7 +30,7 @@ template<typename... Ts> class CM1106CalibrateZeroAction : public Action<Ts...>
public:
CM1106CalibrateZeroAction(CM1106Component *cm1106) : cm1106_(cm1106) {}
void play(Ts... x) override { this->cm1106_->calibrate_zero(400); }
void play(const Ts &...x) override { this->cm1106_->calibrate_zero(400); }
protected:
CM1106Component *cm1106_;

View File

@@ -11,7 +11,7 @@ template<typename... Ts> class OpenAction : public Action<Ts...> {
public:
explicit OpenAction(Cover *cover) : cover_(cover) {}
void play(Ts... x) override { this->cover_->make_call().set_command_open().perform(); }
void play(const Ts &...x) override { this->cover_->make_call().set_command_open().perform(); }
protected:
Cover *cover_;
@@ -21,7 +21,7 @@ template<typename... Ts> class CloseAction : public Action<Ts...> {
public:
explicit CloseAction(Cover *cover) : cover_(cover) {}
void play(Ts... x) override { this->cover_->make_call().set_command_close().perform(); }
void play(const Ts &...x) override { this->cover_->make_call().set_command_close().perform(); }
protected:
Cover *cover_;
@@ -31,7 +31,7 @@ template<typename... Ts> class StopAction : public Action<Ts...> {
public:
explicit StopAction(Cover *cover) : cover_(cover) {}
void play(Ts... x) override { this->cover_->make_call().set_command_stop().perform(); }
void play(const Ts &...x) override { this->cover_->make_call().set_command_stop().perform(); }
protected:
Cover *cover_;
@@ -41,7 +41,7 @@ template<typename... Ts> class ToggleAction : public Action<Ts...> {
public:
explicit ToggleAction(Cover *cover) : cover_(cover) {}
void play(Ts... x) override { this->cover_->make_call().set_command_toggle().perform(); }
void play(const Ts &...x) override { this->cover_->make_call().set_command_toggle().perform(); }
protected:
Cover *cover_;
@@ -55,7 +55,7 @@ template<typename... Ts> class ControlAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, position)
TEMPLATABLE_VALUE(float, tilt)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->cover_->make_call();
if (this->stop_.has_value())
call.set_stop(this->stop_.value(x...));
@@ -77,7 +77,7 @@ template<typename... Ts> class CoverPublishAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, tilt)
TEMPLATABLE_VALUE(CoverOperation, current_operation)
void play(Ts... x) override {
void play(const Ts &...x) override {
if (this->position_.has_value())
this->cover_->position = this->position_.value(x...);
if (this->tilt_.has_value())
@@ -94,7 +94,7 @@ template<typename... Ts> class CoverPublishAction : public Action<Ts...> {
template<typename... Ts> class CoverIsOpenCondition : public Condition<Ts...> {
public:
CoverIsOpenCondition(Cover *cover) : cover_(cover) {}
bool check(Ts... x) override { return this->cover_->is_fully_open(); }
bool check(const Ts &...x) override { return this->cover_->is_fully_open(); }
protected:
Cover *cover_;
@@ -103,7 +103,7 @@ template<typename... Ts> class CoverIsOpenCondition : public Condition<Ts...> {
template<typename... Ts> class CoverIsClosedCondition : public Condition<Ts...> {
public:
CoverIsClosedCondition(Cover *cover) : cover_(cover) {}
bool check(Ts... x) override { return this->cover_->is_fully_closed(); }
bool check(const Ts &...x) override { return this->cover_->is_fully_closed(); }
protected:
Cover *cover_;

View File

@@ -114,7 +114,7 @@ template<typename... Ts> class CS5460ARestartAction : public Action<Ts...> {
public:
CS5460ARestartAction(CS5460AComponent *cs5460a) : cs5460a_(cs5460a) {}
void play(Ts... x) override { cs5460a_->restart(); }
void play(const Ts &...x) override { cs5460a_->restart(); }
protected:
CS5460AComponent *cs5460a_;

View File

@@ -101,7 +101,7 @@ template<typename... Ts> class DateSetAction : public Action<Ts...>, public Pare
public:
TEMPLATABLE_VALUE(ESPTime, date)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->parent_->make_call();
if (this->date_.has_value()) {

View File

@@ -124,7 +124,7 @@ template<typename... Ts> class DateTimeSetAction : public Action<Ts...>, public
public:
TEMPLATABLE_VALUE(ESPTime, datetime)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->parent_->make_call();
if (this->datetime_.has_value()) {

View File

@@ -103,7 +103,7 @@ template<typename... Ts> class TimeSetAction : public Action<Ts...>, public Pare
public:
TEMPLATABLE_VALUE(ESPTime, time)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->parent_->make_call();
if (this->time_.has_value()) {

View File

@@ -148,7 +148,7 @@ template<typename... Ts> class EnterDeepSleepAction : public Action<Ts...> {
void set_time(time::RealTimeClock *time) { this->time_ = time; }
#endif
void play(Ts... x) override {
void play(const Ts &...x) override {
if (this->sleep_duration_.has_value()) {
this->deep_sleep_->set_sleep_duration(this->sleep_duration_.value(x...));
}
@@ -207,12 +207,12 @@ template<typename... Ts> class EnterDeepSleepAction : public Action<Ts...> {
template<typename... Ts> class PreventDeepSleepAction : public Action<Ts...>, public Parented<DeepSleepComponent> {
public:
void play(Ts... x) override { this->parent_->prevent_deep_sleep(); }
void play(const Ts &...x) override { this->parent_->prevent_deep_sleep(); }
};
template<typename... Ts> class AllowDeepSleepAction : public Action<Ts...>, public Parented<DeepSleepComponent> {
public:
void play(Ts... x) override { this->parent_->allow_deep_sleep(); }
void play(const Ts &...x) override { this->parent_->allow_deep_sleep(); }
};
} // namespace deep_sleep

View File

@@ -77,7 +77,7 @@ class DFPlayer : public uart::UARTDevice, public Component {
class ACTION_CLASS : /* NOLINT */ \
public Action<Ts...>, \
public Parented<DFPlayer> { \
void play(Ts... x) override { this->parent_->ACTION_METHOD(); } \
void play(const Ts &...x) override { this->parent_->ACTION_METHOD(); } \
};
DFPLAYER_SIMPLE_ACTION(NextAction, next)
@@ -87,7 +87,7 @@ template<typename... Ts> class PlayMp3Action : public Action<Ts...>, public Pare
public:
TEMPLATABLE_VALUE(uint16_t, file)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto file = this->file_.value(x...);
this->parent_->play_mp3(file);
}
@@ -98,7 +98,7 @@ template<typename... Ts> class PlayFileAction : public Action<Ts...>, public Par
TEMPLATABLE_VALUE(uint16_t, file)
TEMPLATABLE_VALUE(bool, loop)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto file = this->file_.value(x...);
auto loop = this->loop_.value(x...);
if (loop) {
@@ -115,7 +115,7 @@ template<typename... Ts> class PlayFolderAction : public Action<Ts...>, public P
TEMPLATABLE_VALUE(uint16_t, file)
TEMPLATABLE_VALUE(bool, loop)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto folder = this->folder_.value(x...);
auto file = this->file_.value(x...);
auto loop = this->loop_.value(x...);
@@ -131,7 +131,7 @@ template<typename... Ts> class SetDeviceAction : public Action<Ts...>, public Pa
public:
TEMPLATABLE_VALUE(Device, device)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto device = this->device_.value(x...);
this->parent_->set_device(device);
}
@@ -141,7 +141,7 @@ template<typename... Ts> class SetVolumeAction : public Action<Ts...>, public Pa
public:
TEMPLATABLE_VALUE(uint8_t, volume)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto volume = this->volume_.value(x...);
this->parent_->set_volume(volume);
}
@@ -151,7 +151,7 @@ template<typename... Ts> class SetEqAction : public Action<Ts...>, public Parent
public:
TEMPLATABLE_VALUE(EqPreset, eq)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto eq = this->eq_.value(x...);
this->parent_->set_eq(eq);
}
@@ -168,7 +168,7 @@ DFPLAYER_SIMPLE_ACTION(VolumeDownAction, volume_down)
template<typename... Ts> class DFPlayerIsPlayingCondition : public Condition<Ts...>, public Parented<DFPlayer> {
public:
bool check(Ts... x) override { return this->parent_->is_playing(); }
bool check(const Ts &...x) override { return this->parent_->is_playing(); }
};
class DFPlayerFinishedPlaybackTrigger : public Trigger<> {

View File

@@ -11,7 +11,7 @@ namespace dfrobot_sen0395 {
template<typename... Ts>
class DfrobotSen0395ResetAction : public Action<Ts...>, public Parented<DfrobotSen0395Component> {
public:
void play(Ts... x) { this->parent_->enqueue(make_unique<ResetSystemCommand>()); }
void play(const Ts &...x) { this->parent_->enqueue(make_unique<ResetSystemCommand>()); }
};
template<typename... Ts>
@@ -33,7 +33,7 @@ class DfrobotSen0395SettingsAction : public Action<Ts...>, public Parented<Dfrob
TEMPLATABLE_VALUE(float, det_min4)
TEMPLATABLE_VALUE(float, det_max4)
void play(Ts... x) {
void play(const Ts &...x) {
this->parent_->enqueue(make_unique<PowerCommand>(0));
if (this->factory_reset_.has_value() && this->factory_reset_.value(x...) == true) {
this->parent_->enqueue(make_unique<FactoryResetCommand>());

View File

@@ -709,7 +709,7 @@ template<typename... Ts> class DisplayPageShowAction : public Action<Ts...> {
public:
TEMPLATABLE_VALUE(DisplayPage *, page)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto *page = this->page_.value(x...);
if (page != nullptr) {
page->show();
@@ -721,7 +721,7 @@ template<typename... Ts> class DisplayPageShowNextAction : public Action<Ts...>
public:
DisplayPageShowNextAction(Display *buffer) : buffer_(buffer) {}
void play(Ts... x) override { this->buffer_->show_next_page(); }
void play(const Ts &...x) override { this->buffer_->show_next_page(); }
Display *buffer_;
};
@@ -730,7 +730,7 @@ template<typename... Ts> class DisplayPageShowPrevAction : public Action<Ts...>
public:
DisplayPageShowPrevAction(Display *buffer) : buffer_(buffer) {}
void play(Ts... x) override { this->buffer_->show_prev_page(); }
void play(const Ts &...x) override { this->buffer_->show_prev_page(); }
Display *buffer_;
};
@@ -740,7 +740,7 @@ template<typename... Ts> class DisplayIsDisplayingPageCondition : public Conditi
DisplayIsDisplayingPageCondition(Display *parent) : parent_(parent) {}
void set_page(DisplayPage *page) { this->page_ = page; }
bool check(Ts... x) override { return this->parent_->get_active_page() == this->page_; }
bool check(const Ts &...x) override { return this->parent_->get_active_page() == this->page_; }
protected:
Display *parent_;

View File

@@ -10,7 +10,7 @@ template<typename... Ts> class UpAction : public Action<Ts...> {
public:
explicit UpAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->up(); }
void play(const Ts &...x) override { this->menu_->up(); }
protected:
DisplayMenuComponent *menu_;
@@ -20,7 +20,7 @@ template<typename... Ts> class DownAction : public Action<Ts...> {
public:
explicit DownAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->down(); }
void play(const Ts &...x) override { this->menu_->down(); }
protected:
DisplayMenuComponent *menu_;
@@ -30,7 +30,7 @@ template<typename... Ts> class LeftAction : public Action<Ts...> {
public:
explicit LeftAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->left(); }
void play(const Ts &...x) override { this->menu_->left(); }
protected:
DisplayMenuComponent *menu_;
@@ -40,7 +40,7 @@ template<typename... Ts> class RightAction : public Action<Ts...> {
public:
explicit RightAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->right(); }
void play(const Ts &...x) override { this->menu_->right(); }
protected:
DisplayMenuComponent *menu_;
@@ -50,7 +50,7 @@ template<typename... Ts> class EnterAction : public Action<Ts...> {
public:
explicit EnterAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->enter(); }
void play(const Ts &...x) override { this->menu_->enter(); }
protected:
DisplayMenuComponent *menu_;
@@ -60,7 +60,7 @@ template<typename... Ts> class ShowAction : public Action<Ts...> {
public:
explicit ShowAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->show(); }
void play(const Ts &...x) override { this->menu_->show(); }
protected:
DisplayMenuComponent *menu_;
@@ -70,7 +70,7 @@ template<typename... Ts> class HideAction : public Action<Ts...> {
public:
explicit HideAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->hide(); }
void play(const Ts &...x) override { this->menu_->hide(); }
protected:
DisplayMenuComponent *menu_;
@@ -80,7 +80,7 @@ template<typename... Ts> class ShowMainAction : public Action<Ts...> {
public:
explicit ShowMainAction(DisplayMenuComponent *menu) : menu_(menu) {}
void play(Ts... x) override { this->menu_->show_main(); }
void play(const Ts &...x) override { this->menu_->show_main(); }
protected:
DisplayMenuComponent *menu_;
@@ -88,7 +88,7 @@ template<typename... Ts> class ShowMainAction : public Action<Ts...> {
template<typename... Ts> class IsActiveCondition : public Condition<Ts...> {
public:
explicit IsActiveCondition(DisplayMenuComponent *menu) : menu_(menu) {}
bool check(Ts... x) override { return this->menu_->is_active(); }
bool check(const Ts &...x) override { return this->menu_->is_active(); }
protected:
DisplayMenuComponent *menu_;

View File

@@ -59,12 +59,12 @@ class DS1307Component : public time::RealTimeClock, public i2c::I2CDevice {
template<typename... Ts> class WriteAction : public Action<Ts...>, public Parented<DS1307Component> {
public:
void play(Ts... x) override { this->parent_->write_time(); }
void play(const Ts &...x) override { this->parent_->write_time(); }
};
template<typename... Ts> class ReadAction : public Action<Ts...>, public Parented<DS1307Component> {
public:
void play(Ts... x) override { this->parent_->read_time(); }
void play(const Ts &...x) override { this->parent_->read_time(); }
};
} // namespace ds1307
} // namespace esphome

View File

@@ -51,15 +51,15 @@ class DutyTimeSensor : public sensor::Sensor, public PollingComponent {
template<typename... Ts> class BaseAction : public Action<Ts...>, public Parented<DutyTimeSensor> {};
template<typename... Ts> class StartAction : public BaseAction<Ts...> {
void play(Ts... x) override { this->parent_->start(); }
void play(const Ts &...x) override { this->parent_->start(); }
};
template<typename... Ts> class StopAction : public BaseAction<Ts...> {
void play(Ts... x) override { this->parent_->stop(); }
void play(const Ts &...x) override { this->parent_->stop(); }
};
template<typename... Ts> class ResetAction : public BaseAction<Ts...> {
void play(Ts... x) override { this->parent_->reset(); }
void play(const Ts &...x) override { this->parent_->reset(); }
};
template<typename... Ts> class RunningCondition : public Condition<Ts...>, public Parented<DutyTimeSensor> {
@@ -67,7 +67,7 @@ template<typename... Ts> class RunningCondition : public Condition<Ts...>, publi
explicit RunningCondition(DutyTimeSensor *parent, bool state) : Parented(parent), state_(state) {}
protected:
bool check(Ts... x) override { return this->parent_->is_running() == this->state_; }
bool check(const Ts &...x) override { return this->parent_->is_running() == this->state_; }
bool state_;
};

View File

@@ -215,17 +215,17 @@ extern ESP32BLE *global_ble;
template<typename... Ts> class BLEEnabledCondition : public Condition<Ts...> {
public:
bool check(Ts... x) override { return global_ble->is_active(); }
bool check(const Ts &...x) override { return global_ble->is_active(); }
};
template<typename... Ts> class BLEEnableAction : public Action<Ts...> {
public:
void play(Ts... x) override { global_ble->enable(); }
void play(const Ts &...x) override { global_ble->enable(); }
};
template<typename... Ts> class BLEDisableAction : public Action<Ts...> {
public:
void play(Ts... x) override { global_ble->disable(); }
void play(const Ts &...x) override { global_ble->disable(); }
};
} // namespace esphome::esp32_ble

View File

@@ -389,8 +389,7 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
if (this->conn_id_ != param->search_res.conn_id)
return false;
this->service_count_++;
if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE ||
this->connection_type_ == espbt::ConnectionType::V3_WITH_CACHE) {
if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) {
// V3 clients don't need services initialized since
// as they use the ESP APIs to get services.
break;

View File

@@ -15,7 +15,10 @@ Trigger<std::vector<uint8_t>, uint16_t> *BLETriggers::create_characteristic_on_w
Trigger<std::vector<uint8_t>, uint16_t> *on_write_trigger = // NOLINT(cppcoreguidelines-owning-memory)
new Trigger<std::vector<uint8_t>, uint16_t>();
characteristic->on_write([on_write_trigger](std::span<const uint8_t> data, uint16_t id) {
// Convert span to vector for trigger
// Convert span to vector for trigger - copy is necessary because:
// 1. Trigger stores the data for use in automation actions that execute later
// 2. The span is only valid during this callback (points to temporary BLE stack data)
// 3. User lambdas in automations need persistent data they can access asynchronously
on_write_trigger->trigger(std::vector<uint8_t>(data.begin(), data.end()), id);
});
return on_write_trigger;
@@ -27,7 +30,10 @@ Trigger<std::vector<uint8_t>, uint16_t> *BLETriggers::create_descriptor_on_write
Trigger<std::vector<uint8_t>, uint16_t> *on_write_trigger = // NOLINT(cppcoreguidelines-owning-memory)
new Trigger<std::vector<uint8_t>, uint16_t>();
descriptor->on_write([on_write_trigger](std::span<const uint8_t> data, uint16_t id) {
// Convert span to vector for trigger
// Convert span to vector for trigger - copy is necessary because:
// 1. Trigger stores the data for use in automation actions that execute later
// 2. The span is only valid during this callback (points to temporary BLE stack data)
// 3. User lambdas in automations need persistent data they can access asynchronously
on_write_trigger->trigger(std::vector<uint8_t>(data.begin(), data.end()), id);
});
return on_write_trigger;

View File

@@ -71,7 +71,7 @@ template<typename... Ts> class BLECharacteristicSetValueAction : public Action<T
BLECharacteristicSetValueAction(BLECharacteristic *characteristic) : parent_(characteristic) {}
TEMPLATABLE_VALUE(std::vector<uint8_t>, buffer)
void set_buffer(ByteBuffer buffer) { this->set_buffer(buffer.get_data()); }
void play(Ts... x) override {
void play(const Ts &...x) override {
// If the listener is already set, do nothing
if (BLECharacteristicSetValueActionManager::get_instance()->has_listener(this->parent_))
return;
@@ -96,7 +96,7 @@ template<typename... Ts> class BLECharacteristicSetValueAction : public Action<T
template<typename... Ts> class BLECharacteristicNotifyAction : public Action<Ts...> {
public:
BLECharacteristicNotifyAction(BLECharacteristic *characteristic) : parent_(characteristic) {}
void play(Ts... x) override {
void play(const Ts &...x) override {
#ifdef USE_ESP32_BLE_SERVER_SET_VALUE_ACTION
// Call the pre-notify event
BLECharacteristicSetValueActionManager::get_instance()->emit_pre_notify(this->parent_);
@@ -116,7 +116,7 @@ template<typename... Ts> class BLEDescriptorSetValueAction : public Action<Ts...
BLEDescriptorSetValueAction(BLEDescriptor *descriptor) : parent_(descriptor) {}
TEMPLATABLE_VALUE(std::vector<uint8_t>, buffer)
void set_buffer(ByteBuffer buffer) { this->set_buffer(buffer.get_data()); }
void play(Ts... x) override { this->parent_->set_value(this->buffer_.value(x...)); }
void play(const Ts &...x) override { this->parent_->set_value(this->buffer_.value(x...)); }
protected:
BLEDescriptor *parent_;

View File

@@ -96,7 +96,7 @@ template<typename... Ts> class ESP32BLEStartScanAction : public Action<Ts...> {
public:
ESP32BLEStartScanAction(ESP32BLETracker *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(bool, continuous)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->set_scan_continuous(this->continuous_.value(x...));
this->parent_->start_scan();
}
@@ -107,7 +107,7 @@ template<typename... Ts> class ESP32BLEStartScanAction : public Action<Ts...> {
template<typename... Ts> class ESP32BLEStopScanAction : public Action<Ts...>, public Parented<ESP32BLETracker> {
public:
void play(Ts... x) override { this->parent_->stop_scan(); }
void play(const Ts &...x) override { this->parent_->stop_scan(); }
};
} // namespace esphome::esp32_ble_tracker

View File

@@ -40,7 +40,7 @@ template<typename... Ts> class SetFrequencyAction : public Action<Ts...> {
SetFrequencyAction(ESP8266PWM *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(float, frequency);
void play(Ts... x) {
void play(const Ts &...x) {
float freq = this->frequency_.value(x...);
this->parent_->update_frequency(freq);
}

View File

@@ -34,7 +34,7 @@ template<typename... Ts> class AdjustAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, voltage)
void play(Ts... x) override { this->ldo_->adjust_voltage(this->voltage_.value(x...)); }
void play(const Ts &...x) override { this->ldo_->adjust_voltage(this->voltage_.value(x...)); }
protected:
EspLdo *ldo_;

View File

@@ -36,7 +36,7 @@ template<typename... Ts> class SendAction : public Action<Ts...>, public Parente
void set_wait_for_sent(bool wait_for_sent) { this->flags_.wait_for_sent = wait_for_sent; }
void set_continue_on_error(bool continue_on_error) { this->flags_.continue_on_error = continue_on_error; }
void play_complex(Ts... x) override {
void play_complex(const Ts &...x) override {
this->num_running_++;
send_callback_t send_callback = [this, x...](esp_err_t status) {
if (status == ESP_OK) {
@@ -67,7 +67,7 @@ template<typename... Ts> class SendAction : public Action<Ts...>, public Parente
}
}
void play(Ts... x) override { /* ignore - see play_complex */
void play(const Ts &...x) override { /* ignore - see play_complex */
}
void stop() override {
@@ -90,7 +90,7 @@ template<typename... Ts> class AddPeerAction : public Action<Ts...>, public Pare
TEMPLATABLE_VALUE(peer_address_t, address);
public:
void play(Ts... x) override {
void play(const Ts &...x) override {
peer_address_t address = this->address_.value(x...);
this->parent_->add_peer(address.data());
}
@@ -100,7 +100,7 @@ template<typename... Ts> class DeletePeerAction : public Action<Ts...>, public P
TEMPLATABLE_VALUE(peer_address_t, address);
public:
void play(Ts... x) override {
void play(const Ts &...x) override {
peer_address_t address = this->address_.value(x...);
this->parent_->del_peer(address.data());
}
@@ -109,7 +109,7 @@ template<typename... Ts> class DeletePeerAction : public Action<Ts...>, public P
template<typename... Ts> class SetChannelAction : public Action<Ts...>, public Parented<ESPNowComponent> {
public:
TEMPLATABLE_VALUE(uint8_t, channel)
void play(Ts... x) override {
void play(const Ts &...x) override {
if (this->parent_->is_wifi_enabled()) {
return;
}

View File

@@ -11,7 +11,7 @@ template<typename... Ts> class TriggerEventAction : public Action<Ts...>, public
public:
TEMPLATABLE_VALUE(std::string, event_type)
void play(Ts... x) override { this->parent_->trigger(this->event_type_.value(x...)); }
void play(const Ts &...x) override { this->parent_->trigger(this->event_type_.value(x...)); }
};
class EventTrigger : public Trigger<std::string> {

View File

@@ -17,35 +17,35 @@ class LedTrigger : public Trigger<bool> {
class CustomTrigger : public Trigger<std::string> {
public:
explicit CustomTrigger(EZOSensor *ezo) {
ezo->add_custom_callback([this](std::string value) { this->trigger(std::move(value)); });
ezo->add_custom_callback([this](const std::string &value) { this->trigger(value); });
}
};
class TTrigger : public Trigger<std::string> {
public:
explicit TTrigger(EZOSensor *ezo) {
ezo->add_t_callback([this](std::string value) { this->trigger(std::move(value)); });
ezo->add_t_callback([this](const std::string &value) { this->trigger(value); });
}
};
class CalibrationTrigger : public Trigger<std::string> {
public:
explicit CalibrationTrigger(EZOSensor *ezo) {
ezo->add_calibration_callback([this](std::string value) { this->trigger(std::move(value)); });
ezo->add_calibration_callback([this](const std::string &value) { this->trigger(value); });
}
};
class SlopeTrigger : public Trigger<std::string> {
public:
explicit SlopeTrigger(EZOSensor *ezo) {
ezo->add_slope_callback([this](std::string value) { this->trigger(std::move(value)); });
ezo->add_slope_callback([this](const std::string &value) { this->trigger(value); });
}
};
class DeviceInformationTrigger : public Trigger<std::string> {
public:
explicit DeviceInformationTrigger(EZOSensor *ezo) {
ezo->add_device_infomation_callback([this](std::string value) { this->trigger(std::move(value)); });
ezo->add_device_infomation_callback([this](const std::string &value) { this->trigger(value); });
}
};

View File

@@ -119,7 +119,7 @@ template<typename... Ts> class EzoPMPFindAction : public Action<Ts...> {
public:
EzoPMPFindAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->find(); }
void play(const Ts &...x) override { this->ezopmp_->find(); }
protected:
EzoPMP *ezopmp_;
@@ -129,7 +129,7 @@ template<typename... Ts> class EzoPMPDoseContinuouslyAction : public Action<Ts..
public:
EzoPMPDoseContinuouslyAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->dose_continuously(); }
void play(const Ts &...x) override { this->ezopmp_->dose_continuously(); }
protected:
EzoPMP *ezopmp_;
@@ -139,7 +139,7 @@ template<typename... Ts> class EzoPMPDoseVolumeAction : public Action<Ts...> {
public:
EzoPMPDoseVolumeAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->dose_volume(this->volume_.value(x...)); }
void play(const Ts &...x) override { this->ezopmp_->dose_volume(this->volume_.value(x...)); }
TEMPLATABLE_VALUE(double, volume)
protected:
@@ -150,7 +150,7 @@ template<typename... Ts> class EzoPMPDoseVolumeOverTimeAction : public Action<Ts
public:
EzoPMPDoseVolumeOverTimeAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override {
void play(const Ts &...x) override {
this->ezopmp_->dose_volume_over_time(this->volume_.value(x...), this->duration_.value(x...));
}
TEMPLATABLE_VALUE(double, volume)
@@ -164,7 +164,7 @@ template<typename... Ts> class EzoPMPDoseWithConstantFlowRateAction : public Act
public:
EzoPMPDoseWithConstantFlowRateAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override {
void play(const Ts &...x) override {
this->ezopmp_->dose_with_constant_flow_rate(this->volume_.value(x...), this->duration_.value(x...));
}
TEMPLATABLE_VALUE(double, volume)
@@ -178,7 +178,7 @@ template<typename... Ts> class EzoPMPSetCalibrationVolumeAction : public Action<
public:
EzoPMPSetCalibrationVolumeAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->set_calibration_volume(this->volume_.value(x...)); }
void play(const Ts &...x) override { this->ezopmp_->set_calibration_volume(this->volume_.value(x...)); }
TEMPLATABLE_VALUE(double, volume)
protected:
@@ -189,7 +189,7 @@ template<typename... Ts> class EzoPMPClearTotalVolumeDispensedAction : public Ac
public:
EzoPMPClearTotalVolumeDispensedAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->clear_total_volume_dosed(); }
void play(const Ts &...x) override { this->ezopmp_->clear_total_volume_dosed(); }
protected:
EzoPMP *ezopmp_;
@@ -199,7 +199,7 @@ template<typename... Ts> class EzoPMPClearCalibrationAction : public Action<Ts..
public:
EzoPMPClearCalibrationAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->clear_calibration(); }
void play(const Ts &...x) override { this->ezopmp_->clear_calibration(); }
protected:
EzoPMP *ezopmp_;
@@ -209,7 +209,7 @@ template<typename... Ts> class EzoPMPPauseDosingAction : public Action<Ts...> {
public:
EzoPMPPauseDosingAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->pause_dosing(); }
void play(const Ts &...x) override { this->ezopmp_->pause_dosing(); }
protected:
EzoPMP *ezopmp_;
@@ -219,7 +219,7 @@ template<typename... Ts> class EzoPMPStopDosingAction : public Action<Ts...> {
public:
EzoPMPStopDosingAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->stop_dosing(); }
void play(const Ts &...x) override { this->ezopmp_->stop_dosing(); }
protected:
EzoPMP *ezopmp_;
@@ -229,7 +229,7 @@ template<typename... Ts> class EzoPMPChangeI2CAddressAction : public Action<Ts..
public:
EzoPMPChangeI2CAddressAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->change_i2c_address(this->address_.value(x...)); }
void play(const Ts &...x) override { this->ezopmp_->change_i2c_address(this->address_.value(x...)); }
TEMPLATABLE_VALUE(int, address)
protected:
@@ -240,7 +240,7 @@ template<typename... Ts> class EzoPMPArbitraryCommandAction : public Action<Ts..
public:
EzoPMPArbitraryCommandAction(EzoPMP *ezopmp) : ezopmp_(ezopmp) {}
void play(Ts... x) override { this->ezopmp_->exec_arbitrary_command(this->command_.value(x...)); }
void play(const Ts &...x) override { this->ezopmp_->exec_arbitrary_command(this->command_.value(x...)); }
TEMPLATABLE_VALUE(std::string, command)
protected:

View File

@@ -15,7 +15,7 @@ template<typename... Ts> class TurnOnAction : public Action<Ts...> {
TEMPLATABLE_VALUE(int, speed)
TEMPLATABLE_VALUE(FanDirection, direction)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->state_->turn_on();
if (this->oscillating_.has_value()) {
call.set_oscillating(this->oscillating_.value(x...));
@@ -36,7 +36,7 @@ template<typename... Ts> class TurnOffAction : public Action<Ts...> {
public:
explicit TurnOffAction(Fan *state) : state_(state) {}
void play(Ts... x) override { this->state_->turn_off().perform(); }
void play(const Ts &...x) override { this->state_->turn_off().perform(); }
Fan *state_;
};
@@ -45,7 +45,7 @@ template<typename... Ts> class ToggleAction : public Action<Ts...> {
public:
explicit ToggleAction(Fan *state) : state_(state) {}
void play(Ts... x) override { this->state_->toggle().perform(); }
void play(const Ts &...x) override { this->state_->toggle().perform(); }
Fan *state_;
};
@@ -56,7 +56,7 @@ template<typename... Ts> class CycleSpeedAction : public Action<Ts...> {
TEMPLATABLE_VALUE(bool, no_off_cycle)
void play(Ts... x) override {
void play(const Ts &...x) override {
// check to see if fan supports speeds and is on
if (this->state_->get_traits().supported_speed_count()) {
if (this->state_->state) {
@@ -97,7 +97,7 @@ template<typename... Ts> class CycleSpeedAction : public Action<Ts...> {
template<typename... Ts> class FanIsOnCondition : public Condition<Ts...> {
public:
explicit FanIsOnCondition(Fan *state) : state_(state) {}
bool check(Ts... x) override { return this->state_->state; }
bool check(const Ts &...x) override { return this->state_->state; }
protected:
Fan *state_;
@@ -105,7 +105,7 @@ template<typename... Ts> class FanIsOnCondition : public Condition<Ts...> {
template<typename... Ts> class FanIsOffCondition : public Condition<Ts...> {
public:
explicit FanIsOffCondition(Fan *state) : state_(state) {}
bool check(Ts... x) override { return !this->state_->state; }
bool check(const Ts &...x) override { return !this->state_->state; }
protected:
Fan *state_;

View File

@@ -273,7 +273,7 @@ template<typename... Ts> class EnrollmentAction : public Action<Ts...>, public P
TEMPLATABLE_VALUE(uint16_t, finger_id)
TEMPLATABLE_VALUE(uint8_t, num_scans)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto finger_id = this->finger_id_.value(x...);
auto num_scans = this->num_scans_.value(x...);
if (num_scans) {
@@ -287,14 +287,14 @@ template<typename... Ts> class EnrollmentAction : public Action<Ts...>, public P
template<typename... Ts>
class CancelEnrollmentAction : public Action<Ts...>, public Parented<FingerprintGrowComponent> {
public:
void play(Ts... x) override { this->parent_->finish_enrollment(1); }
void play(const Ts &...x) override { this->parent_->finish_enrollment(1); }
};
template<typename... Ts> class DeleteAction : public Action<Ts...>, public Parented<FingerprintGrowComponent> {
public:
TEMPLATABLE_VALUE(uint16_t, finger_id)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto finger_id = this->finger_id_.value(x...);
this->parent_->delete_fingerprint(finger_id);
}
@@ -302,14 +302,14 @@ template<typename... Ts> class DeleteAction : public Action<Ts...>, public Paren
template<typename... Ts> class DeleteAllAction : public Action<Ts...>, public Parented<FingerprintGrowComponent> {
public:
void play(Ts... x) override { this->parent_->delete_all_fingerprints(); }
void play(const Ts &...x) override { this->parent_->delete_all_fingerprints(); }
};
template<typename... Ts> class LEDControlAction : public Action<Ts...>, public Parented<FingerprintGrowComponent> {
public:
TEMPLATABLE_VALUE(bool, state)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto state = this->state_.value(x...);
this->parent_->led_control(state);
}
@@ -322,7 +322,7 @@ template<typename... Ts> class AuraLEDControlAction : public Action<Ts...>, publ
TEMPLATABLE_VALUE(uint8_t, color)
TEMPLATABLE_VALUE(uint8_t, count)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto state = this->state_.value(x...);
auto speed = this->speed_.value(x...);
auto color = this->color_.value(x...);

View File

@@ -134,7 +134,7 @@ template<class C, typename... Ts> class GlobalVarSetAction : public Action<Ts...
TEMPLATABLE_VALUE(T, value);
void play(Ts... x) override { this->parent_->value() = this->value_.value(x...); }
void play(const Ts &...x) override { this->parent_->value() = this->value_.value(x...); }
protected:
C *parent_;

View File

@@ -168,7 +168,7 @@ class GROVETB6612FNGMotorRunAction : public Action<Ts...>, public Parented<Grove
TEMPLATABLE_VALUE(uint8_t, channel)
TEMPLATABLE_VALUE(uint16_t, speed)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto channel = this->channel_.value(x...);
auto speed = this->speed_.value(x...);
this->parent_->dc_motor_run(channel, speed);
@@ -180,7 +180,7 @@ class GROVETB6612FNGMotorBrakeAction : public Action<Ts...>, public Parented<Gro
public:
TEMPLATABLE_VALUE(uint8_t, channel)
void play(Ts... x) override { this->parent_->dc_motor_brake(this->channel_.value(x...)); }
void play(const Ts &...x) override { this->parent_->dc_motor_brake(this->channel_.value(x...)); }
};
template<typename... Ts>
@@ -188,19 +188,19 @@ class GROVETB6612FNGMotorStopAction : public Action<Ts...>, public Parented<Grov
public:
TEMPLATABLE_VALUE(uint8_t, channel)
void play(Ts... x) override { this->parent_->dc_motor_stop(this->channel_.value(x...)); }
void play(const Ts &...x) override { this->parent_->dc_motor_stop(this->channel_.value(x...)); }
};
template<typename... Ts>
class GROVETB6612FNGMotorStandbyAction : public Action<Ts...>, public Parented<GroveMotorDriveTB6612FNG> {
public:
void play(Ts... x) override { this->parent_->standby(); }
void play(const Ts &...x) override { this->parent_->standby(); }
};
template<typename... Ts>
class GROVETB6612FNGMotorNoStandbyAction : public Action<Ts...>, public Parented<GroveMotorDriveTB6612FNG> {
public:
void play(Ts... x) override { this->parent_->not_standby(); }
void play(const Ts &...x) override { this->parent_->not_standby(); }
};
template<typename... Ts>
@@ -208,7 +208,7 @@ class GROVETB6612FNGMotorChangeAddressAction : public Action<Ts...>, public Pare
public:
TEMPLATABLE_VALUE(uint8_t, address)
void play(Ts... x) override { this->parent_->set_i2c_addr(this->address_.value(x...)); }
void play(const Ts &...x) override { this->parent_->set_i2c_addr(this->address_.value(x...)); }
};
} // namespace grove_tb6612fng

View File

@@ -10,7 +10,7 @@ namespace haier {
template<typename... Ts> class DisplayOnAction : public Action<Ts...> {
public:
DisplayOnAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->set_display_state(true); }
void play(const Ts &...x) { this->parent_->set_display_state(true); }
protected:
HaierClimateBase *parent_;
@@ -19,7 +19,7 @@ template<typename... Ts> class DisplayOnAction : public Action<Ts...> {
template<typename... Ts> class DisplayOffAction : public Action<Ts...> {
public:
DisplayOffAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->set_display_state(false); }
void play(const Ts &...x) { this->parent_->set_display_state(false); }
protected:
HaierClimateBase *parent_;
@@ -28,7 +28,7 @@ template<typename... Ts> class DisplayOffAction : public Action<Ts...> {
template<typename... Ts> class BeeperOnAction : public Action<Ts...> {
public:
BeeperOnAction(HonClimate *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->set_beeper_state(true); }
void play(const Ts &...x) { this->parent_->set_beeper_state(true); }
protected:
HonClimate *parent_;
@@ -37,7 +37,7 @@ template<typename... Ts> class BeeperOnAction : public Action<Ts...> {
template<typename... Ts> class BeeperOffAction : public Action<Ts...> {
public:
BeeperOffAction(HonClimate *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->set_beeper_state(false); }
void play(const Ts &...x) { this->parent_->set_beeper_state(false); }
protected:
HonClimate *parent_;
@@ -47,7 +47,7 @@ template<typename... Ts> class VerticalAirflowAction : public Action<Ts...> {
public:
VerticalAirflowAction(HonClimate *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(hon_protocol::VerticalSwingMode, direction)
void play(Ts... x) { this->parent_->set_vertical_airflow(this->direction_.value(x...)); }
void play(const Ts &...x) { this->parent_->set_vertical_airflow(this->direction_.value(x...)); }
protected:
HonClimate *parent_;
@@ -57,7 +57,7 @@ template<typename... Ts> class HorizontalAirflowAction : public Action<Ts...> {
public:
HorizontalAirflowAction(HonClimate *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(hon_protocol::HorizontalSwingMode, direction)
void play(Ts... x) { this->parent_->set_horizontal_airflow(this->direction_.value(x...)); }
void play(const Ts &...x) { this->parent_->set_horizontal_airflow(this->direction_.value(x...)); }
protected:
HonClimate *parent_;
@@ -66,7 +66,7 @@ template<typename... Ts> class HorizontalAirflowAction : public Action<Ts...> {
template<typename... Ts> class HealthOnAction : public Action<Ts...> {
public:
HealthOnAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->set_health_mode(true); }
void play(const Ts &...x) { this->parent_->set_health_mode(true); }
protected:
HaierClimateBase *parent_;
@@ -75,7 +75,7 @@ template<typename... Ts> class HealthOnAction : public Action<Ts...> {
template<typename... Ts> class HealthOffAction : public Action<Ts...> {
public:
HealthOffAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->set_health_mode(false); }
void play(const Ts &...x) { this->parent_->set_health_mode(false); }
protected:
HaierClimateBase *parent_;
@@ -84,7 +84,7 @@ template<typename... Ts> class HealthOffAction : public Action<Ts...> {
template<typename... Ts> class StartSelfCleaningAction : public Action<Ts...> {
public:
StartSelfCleaningAction(HonClimate *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->start_self_cleaning(); }
void play(const Ts &...x) { this->parent_->start_self_cleaning(); }
protected:
HonClimate *parent_;
@@ -93,7 +93,7 @@ template<typename... Ts> class StartSelfCleaningAction : public Action<Ts...> {
template<typename... Ts> class StartSteriCleaningAction : public Action<Ts...> {
public:
StartSteriCleaningAction(HonClimate *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->start_steri_cleaning(); }
void play(const Ts &...x) { this->parent_->start_steri_cleaning(); }
protected:
HonClimate *parent_;
@@ -102,7 +102,7 @@ template<typename... Ts> class StartSteriCleaningAction : public Action<Ts...> {
template<typename... Ts> class PowerOnAction : public Action<Ts...> {
public:
PowerOnAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->send_power_on_command(); }
void play(const Ts &...x) { this->parent_->send_power_on_command(); }
protected:
HaierClimateBase *parent_;
@@ -111,7 +111,7 @@ template<typename... Ts> class PowerOnAction : public Action<Ts...> {
template<typename... Ts> class PowerOffAction : public Action<Ts...> {
public:
PowerOffAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->send_power_off_command(); }
void play(const Ts &...x) { this->parent_->send_power_off_command(); }
protected:
HaierClimateBase *parent_;
@@ -120,7 +120,7 @@ template<typename... Ts> class PowerOffAction : public Action<Ts...> {
template<typename... Ts> class PowerToggleAction : public Action<Ts...> {
public:
PowerToggleAction(HaierClimateBase *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->toggle_power(); }
void play(const Ts &...x) { this->parent_->toggle_power(); }
protected:
HaierClimateBase *parent_;

View File

@@ -49,7 +49,7 @@ template<typename... Ts> class BrakeAction : public Action<Ts...> {
public:
explicit BrakeAction(HBridgeFan *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->brake(); }
void play(const Ts &...x) override { this->parent_->brake(); }
HBridgeFan *parent_;
};

View File

@@ -113,8 +113,8 @@ class HttpContainer : public Parented<HttpRequestComponent> {
class HttpRequestResponseTrigger : public Trigger<std::shared_ptr<HttpContainer>, std::string &> {
public:
void process(std::shared_ptr<HttpContainer> container, std::string &response_body) {
this->trigger(std::move(container), response_body);
void process(const std::shared_ptr<HttpContainer> &container, std::string &response_body) {
this->trigger(container, response_body);
}
};
@@ -210,7 +210,7 @@ template<typename... Ts> class HttpRequestSendAction : public Action<Ts...> {
this->max_response_buffer_size_ = max_response_buffer_size;
}
void play(Ts... x) override {
void play(const Ts &...x) override {
std::string body;
if (this->body_.has_value()) {
body = this->body_.value(x...);

View File

@@ -15,7 +15,7 @@ template<typename... Ts> class OtaHttpRequestComponentFlashAction : public Actio
TEMPLATABLE_VALUE(std::string, url)
TEMPLATABLE_VALUE(std::string, username)
void play(Ts... x) override {
void play(const Ts &...x) override {
if (this->md5_url_.has_value()) {
this->parent_->set_md5_url(this->md5_url_.value(x...));
}

View File

@@ -41,7 +41,7 @@ template<typename... Ts> class SetHeaterLevelAction : public Action<Ts...>, publ
public:
TEMPLATABLE_VALUE(uint8_t, level)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto level = this->level_.value(x...);
this->parent_->set_heater_level(level);
@@ -52,7 +52,7 @@ template<typename... Ts> class SetHeaterAction : public Action<Ts...>, public Pa
public:
TEMPLATABLE_VALUE(bool, status)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto status = this->status_.value(x...);
this->parent_->set_heater(status);

View File

@@ -75,7 +75,7 @@ template<typename... Ts> class ResetAction : public Action<Ts...> {
public:
explicit ResetAction(IntegrationSensor *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->reset(); }
void play(const Ts &...x) override { this->parent_->reset(); }
protected:
IntegrationSensor *parent_;

View File

@@ -52,11 +52,11 @@ class KeyCollector : public Component {
};
template<typename... Ts> class EnableAction : public Action<Ts...>, public Parented<KeyCollector> {
void play(Ts... x) override { this->parent_->set_enabled(true); }
void play(const Ts &...x) override { this->parent_->set_enabled(true); }
};
template<typename... Ts> class DisableAction : public Action<Ts...>, public Parented<KeyCollector> {
void play(Ts... x) override { this->parent_->set_enabled(false); }
void play(const Ts &...x) override { this->parent_->set_enabled(false); }
};
} // namespace key_collector

View File

@@ -12,7 +12,7 @@ template<typename... Ts> class BluetoothPasswordSetAction : public Action<Ts...>
explicit BluetoothPasswordSetAction(LD2410Component *ld2410_comp) : ld2410_comp_(ld2410_comp) {}
TEMPLATABLE_VALUE(std::string, password)
void play(Ts... x) override { this->ld2410_comp_->set_bluetooth_password(this->password_.value(x...)); }
void play(const Ts &...x) override { this->ld2410_comp_->set_bluetooth_password(this->password_.value(x...)); }
protected:
LD2410Component *ld2410_comp_;

View File

@@ -47,7 +47,7 @@ template<typename... Ts> class SetFrequencyAction : public Action<Ts...> {
SetFrequencyAction(LEDCOutput *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(float, frequency);
void play(Ts... x) {
void play(const Ts &...x) {
float freq = this->frequency_.value(x...);
this->parent_->update_frequency(freq);
}

View File

@@ -40,7 +40,7 @@ template<typename... Ts> class SetFrequencyAction : public Action<Ts...> {
SetFrequencyAction(LibreTinyPWM *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(float, frequency);
void play(Ts... x) {
void play(const Ts &...x) {
float freq = this->frequency_.value(x...);
this->parent_->update_frequency(freq);
}

View File

@@ -15,7 +15,7 @@ template<typename... Ts> class ToggleAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint32_t, transition_length)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->state_->toggle();
call.set_transition_length(this->transition_length_.optional_value(x...));
call.perform();
@@ -44,7 +44,7 @@ template<typename... Ts> class LightControlAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, warm_white)
TEMPLATABLE_VALUE(std::string, effect)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->parent_->make_call();
call.set_color_mode(this->color_mode_.optional_value(x...));
call.set_state(this->state_.optional_value(x...));
@@ -74,7 +74,7 @@ template<typename... Ts> class DimRelativeAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, relative_brightness)
TEMPLATABLE_VALUE(uint32_t, transition_length)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->parent_->make_call();
float rel = this->relative_brightness_.value(x...);
float cur;
@@ -107,7 +107,7 @@ template<typename... Ts> class DimRelativeAction : public Action<Ts...> {
template<typename... Ts> class LightIsOnCondition : public Condition<Ts...> {
public:
explicit LightIsOnCondition(LightState *state) : state_(state) {}
bool check(Ts... x) override { return this->state_->current_values.is_on(); }
bool check(const Ts &...x) override { return this->state_->current_values.is_on(); }
protected:
LightState *state_;
@@ -115,7 +115,7 @@ template<typename... Ts> class LightIsOnCondition : public Condition<Ts...> {
template<typename... Ts> class LightIsOffCondition : public Condition<Ts...> {
public:
explicit LightIsOffCondition(LightState *state) : state_(state) {}
bool check(Ts... x) override { return !this->state_->current_values.is_on(); }
bool check(const Ts &...x) override { return !this->state_->current_values.is_on(); }
protected:
LightState *state_;
@@ -179,7 +179,7 @@ template<typename... Ts> class AddressableSet : public Action<Ts...> {
TEMPLATABLE_VALUE(float, blue)
TEMPLATABLE_VALUE(float, white)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto *out = (AddressableLight *) this->parent_->get_output();
int32_t range_from = interpret_index(this->range_from_.value_or(x..., 0), out->size());
if (range_from < 0 || range_from >= out->size())

View File

@@ -51,7 +51,7 @@ template<typename... Ts> class SendRawAction : public Action<Ts...> {
void set_pulse_length(const int &data) { pulse_length_ = data; }
void set_data(const std::vector<uint8_t> &data) { code_ = data; }
void play(Ts... x) {
void play(const Ts &...x) {
int repeats = this->repeat_.value(x...);
int inverted = this->inverted_.value(x...);
int pulse_length = this->pulse_length_.value(x...);

View File

@@ -11,7 +11,7 @@ template<typename... Ts> class LockAction : public Action<Ts...> {
public:
explicit LockAction(Lock *a_lock) : lock_(a_lock) {}
void play(Ts... x) override { this->lock_->lock(); }
void play(const Ts &...x) override { this->lock_->lock(); }
protected:
Lock *lock_;
@@ -21,7 +21,7 @@ template<typename... Ts> class UnlockAction : public Action<Ts...> {
public:
explicit UnlockAction(Lock *a_lock) : lock_(a_lock) {}
void play(Ts... x) override { this->lock_->unlock(); }
void play(const Ts &...x) override { this->lock_->unlock(); }
protected:
Lock *lock_;
@@ -31,7 +31,7 @@ template<typename... Ts> class OpenAction : public Action<Ts...> {
public:
explicit OpenAction(Lock *a_lock) : lock_(a_lock) {}
void play(Ts... x) override { this->lock_->open(); }
void play(const Ts &...x) override { this->lock_->open(); }
protected:
Lock *lock_;
@@ -40,7 +40,7 @@ template<typename... Ts> class OpenAction : public Action<Ts...> {
template<typename... Ts> class LockCondition : public Condition<Ts...> {
public:
LockCondition(Lock *parent, bool state) : parent_(parent), state_(state) {}
bool check(Ts... x) override {
bool check(const Ts &...x) override {
auto check_state = this->state_ ? LockState::LOCK_STATE_LOCKED : LockState::LOCK_STATE_UNLOCKED;
return this->parent_->state == check_state;
}

View File

@@ -129,7 +129,7 @@ template<typename... Ts> class ObjUpdateAction : public Action<Ts...> {
public:
explicit ObjUpdateAction(std::function<void(Ts...)> &&lamb) : lamb_(std::move(lamb)) {}
void play(Ts... x) override { this->lamb_(x...); }
void play(const Ts &...x) override { this->lamb_(x...); }
protected:
std::function<void(Ts...)> lamb_;
@@ -263,7 +263,7 @@ class IdleTrigger : public Trigger<> {
template<typename... Ts> class LvglAction : public Action<Ts...>, public Parented<LvglComponent> {
public:
explicit LvglAction(std::function<void(LvglComponent *)> &&lamb) : action_(std::move(lamb)) {}
void play(Ts... x) override { this->action_(this->parent_); }
void play(const Ts &...x) override { this->action_(this->parent_); }
protected:
std::function<void(LvglComponent *)> action_{};
@@ -272,7 +272,7 @@ template<typename... Ts> class LvglAction : public Action<Ts...>, public Parente
template<typename Tc, typename... Ts> class LvglCondition : public Condition<Ts...>, public Parented<Tc> {
public:
LvglCondition(std::function<bool(Tc *)> &&condition_lambda) : condition_lambda_(std::move(condition_lambda)) {}
bool check(Ts... x) override { return this->condition_lambda_(this->parent_); }
bool check(const Ts &...x) override { return this->condition_lambda_(this->parent_); }
protected:
std::function<bool(Tc *)> condition_lambda_{};

View File

@@ -10,7 +10,7 @@ template<typename... Ts> class SleepAction : public Action<Ts...> {
public:
explicit SleepAction(MAX17043Component *max17043) : max17043_(max17043) {}
void play(Ts... x) override { this->max17043_->sleep_mode(); }
void play(const Ts &...x) override { this->max17043_->sleep_mode(); }
protected:
MAX17043Component *max17043_;

View File

@@ -13,7 +13,7 @@ template<typename... Ts> class SetCurrentGlobalAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint8_t, brightness_global)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->max6956_->set_brightness_global(this->brightness_global_.value(x...));
this->max6956_->write_brightness_global();
}
@@ -28,7 +28,7 @@ template<typename... Ts> class SetCurrentModeAction : public Action<Ts...> {
TEMPLATABLE_VALUE(max6956::MAX6956CURRENTMODE, brightness_mode)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->max6956_->set_brightness_mode(this->brightness_mode_.value(x...));
this->max6956_->write_brightness_mode();
}

View File

@@ -12,7 +12,7 @@ template<typename... Ts> class DisplayInvertAction : public Action<Ts...>, publi
public:
TEMPLATABLE_VALUE(bool, state)
void play(Ts... x) override {
void play(const Ts &...x) override {
bool state = this->state_.value(x...);
this->parent_->invert_on_off(state);
}
@@ -22,7 +22,7 @@ template<typename... Ts> class DisplayVisibilityAction : public Action<Ts...>, p
public:
TEMPLATABLE_VALUE(bool, state)
void play(Ts... x) override {
void play(const Ts &...x) override {
bool state = this->state_.value(x...);
this->parent_->turn_on_off(state);
}
@@ -32,7 +32,7 @@ template<typename... Ts> class DisplayReverseAction : public Action<Ts...>, publ
public:
TEMPLATABLE_VALUE(bool, state)
void play(Ts... x) override {
void play(const Ts &...x) override {
bool state = this->state_.value(x...);
this->parent_->set_reverse(state);
}
@@ -42,7 +42,7 @@ template<typename... Ts> class DisplayIntensityAction : public Action<Ts...>, pu
public:
TEMPLATABLE_VALUE(uint8_t, state)
void play(Ts... x) override {
void play(const Ts &...x) override {
uint8_t state = this->state_.value(x...);
this->parent_->set_intensity(state);
}

View File

@@ -11,7 +11,7 @@ template<MediaPlayerCommand Command, typename... Ts>
class MediaPlayerCommandAction : public Action<Ts...>, public Parented<MediaPlayer> {
public:
TEMPLATABLE_VALUE(bool, announcement);
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->make_call().set_command(Command).set_announcement(this->announcement_.value(x...)).perform();
}
};
@@ -36,7 +36,7 @@ using TurnOffAction = MediaPlayerCommandAction<MediaPlayerCommand::MEDIA_PLAYER_
template<typename... Ts> class PlayMediaAction : public Action<Ts...>, public Parented<MediaPlayer> {
TEMPLATABLE_VALUE(std::string, media_url)
TEMPLATABLE_VALUE(bool, announcement)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->make_call()
.set_media_url(this->media_url_.value(x...))
.set_announcement(this->announcement_.value(x...))
@@ -46,7 +46,7 @@ template<typename... Ts> class PlayMediaAction : public Action<Ts...>, public Pa
template<typename... Ts> class VolumeSetAction : public Action<Ts...>, public Parented<MediaPlayer> {
TEMPLATABLE_VALUE(float, volume)
void play(Ts... x) override { this->parent_->make_call().set_volume(this->volume_.value(x...)).perform(); }
void play(const Ts &...x) override { this->parent_->make_call().set_volume(this->volume_.value(x...)).perform(); }
};
class StateTrigger : public Trigger<> {
@@ -75,32 +75,34 @@ using OffTrigger = MediaPlayerStateTrigger<MediaPlayerState::MEDIA_PLAYER_STATE_
template<typename... Ts> class IsIdleCondition : public Condition<Ts...>, public Parented<MediaPlayer> {
public:
bool check(Ts... x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_IDLE; }
bool check(const Ts &...x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_IDLE; }
};
template<typename... Ts> class IsPlayingCondition : public Condition<Ts...>, public Parented<MediaPlayer> {
public:
bool check(Ts... x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_PLAYING; }
bool check(const Ts &...x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_PLAYING; }
};
template<typename... Ts> class IsPausedCondition : public Condition<Ts...>, public Parented<MediaPlayer> {
public:
bool check(Ts... x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_PAUSED; }
bool check(const Ts &...x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_PAUSED; }
};
template<typename... Ts> class IsAnnouncingCondition : public Condition<Ts...>, public Parented<MediaPlayer> {
public:
bool check(Ts... x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_ANNOUNCING; }
bool check(const Ts &...x) override {
return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_ANNOUNCING;
}
};
template<typename... Ts> class IsOnCondition : public Condition<Ts...>, public Parented<MediaPlayer> {
public:
bool check(Ts... x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_ON; }
bool check(const Ts &...x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_ON; }
};
template<typename... Ts> class IsOffCondition : public Condition<Ts...>, public Parented<MediaPlayer> {
public:
bool check(Ts... x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_OFF; }
bool check(const Ts &...x) override { return this->parent_->state == MediaPlayerState::MEDIA_PLAYER_STATE_OFF; }
};
} // namespace media_player

View File

@@ -40,7 +40,7 @@ template<typename... Ts> class MHZ19CalibrateZeroAction : public Action<Ts...> {
public:
MHZ19CalibrateZeroAction(MHZ19Component *mhz19) : mhz19_(mhz19) {}
void play(Ts... x) override { this->mhz19_->calibrate_zero(); }
void play(const Ts &...x) override { this->mhz19_->calibrate_zero(); }
protected:
MHZ19Component *mhz19_;
@@ -50,7 +50,7 @@ template<typename... Ts> class MHZ19ABCEnableAction : public Action<Ts...> {
public:
MHZ19ABCEnableAction(MHZ19Component *mhz19) : mhz19_(mhz19) {}
void play(Ts... x) override { this->mhz19_->abc_enable(); }
void play(const Ts &...x) override { this->mhz19_->abc_enable(); }
protected:
MHZ19Component *mhz19_;
@@ -60,7 +60,7 @@ template<typename... Ts> class MHZ19ABCDisableAction : public Action<Ts...> {
public:
MHZ19ABCDisableAction(MHZ19Component *mhz19) : mhz19_(mhz19) {}
void play(Ts... x) override { this->mhz19_->abc_disable(); }
void play(const Ts &...x) override { this->mhz19_->abc_disable(); }
protected:
MHZ19Component *mhz19_;

View File

@@ -9,23 +9,23 @@ namespace micro_wake_word {
template<typename... Ts> class StartAction : public Action<Ts...>, public Parented<MicroWakeWord> {
public:
void play(Ts... x) override { this->parent_->start(); }
void play(const Ts &...x) override { this->parent_->start(); }
};
template<typename... Ts> class StopAction : public Action<Ts...>, public Parented<MicroWakeWord> {
public:
void play(Ts... x) override { this->parent_->stop(); }
void play(const Ts &...x) override { this->parent_->stop(); }
};
template<typename... Ts> class IsRunningCondition : public Condition<Ts...>, public Parented<MicroWakeWord> {
public:
bool check(Ts... x) override { return this->parent_->is_running(); }
bool check(const Ts &...x) override { return this->parent_->is_running(); }
};
template<typename... Ts> class EnableModelAction : public Action<Ts...> {
public:
explicit EnableModelAction(WakeWordModel *wake_word_model) : wake_word_model_(wake_word_model) {}
void play(Ts... x) override { this->wake_word_model_->enable(); }
void play(const Ts &...x) override { this->wake_word_model_->enable(); }
protected:
WakeWordModel *wake_word_model_;
@@ -34,7 +34,7 @@ template<typename... Ts> class EnableModelAction : public Action<Ts...> {
template<typename... Ts> class DisableModelAction : public Action<Ts...> {
public:
explicit DisableModelAction(WakeWordModel *wake_word_model) : wake_word_model_(wake_word_model) {}
void play(Ts... x) override { this->wake_word_model_->disable(); }
void play(const Ts &...x) override { this->wake_word_model_->disable(); }
protected:
WakeWordModel *wake_word_model_;
@@ -43,7 +43,7 @@ template<typename... Ts> class DisableModelAction : public Action<Ts...> {
template<typename... Ts> class ModelIsEnabledCondition : public Condition<Ts...> {
public:
explicit ModelIsEnabledCondition(WakeWordModel *wake_word_model) : wake_word_model_(wake_word_model) {}
bool check(Ts... x) override { return this->wake_word_model_->is_enabled(); }
bool check(const Ts &...x) override { return this->wake_word_model_->is_enabled(); }
protected:
WakeWordModel *wake_word_model_;

View File

@@ -9,18 +9,18 @@ namespace esphome {
namespace microphone {
template<typename... Ts> class CaptureAction : public Action<Ts...>, public Parented<Microphone> {
void play(Ts... x) override { this->parent_->start(); }
void play(const Ts &...x) override { this->parent_->start(); }
};
template<typename... Ts> class StopCaptureAction : public Action<Ts...>, public Parented<Microphone> {
void play(Ts... x) override { this->parent_->stop(); }
void play(const Ts &...x) override { this->parent_->stop(); }
};
template<typename... Ts> class MuteAction : public Action<Ts...>, public Parented<Microphone> {
void play(Ts... x) override { this->parent_->set_mute_state(true); }
void play(const Ts &...x) override { this->parent_->set_mute_state(true); }
};
template<typename... Ts> class UnmuteAction : public Action<Ts...>, public Parented<Microphone> {
void play(Ts... x) override { this->parent_->set_mute_state(false); }
void play(const Ts &...x) override { this->parent_->set_mute_state(false); }
};
class DataTrigger : public Trigger<const std::vector<uint8_t> &> {
@@ -32,12 +32,12 @@ class DataTrigger : public Trigger<const std::vector<uint8_t> &> {
template<typename... Ts> class IsCapturingCondition : public Condition<Ts...>, public Parented<Microphone> {
public:
bool check(Ts... x) override { return this->parent_->is_running(); }
bool check(const Ts &...x) override { return this->parent_->is_running(); }
};
template<typename... Ts> class IsMutedCondition : public Condition<Ts...>, public Parented<Microphone> {
public:
bool check(Ts... x) override { return this->parent_->get_mute_state(); }
bool check(const Ts &...x) override { return this->parent_->get_mute_state(); }
};
} // namespace microphone

View File

@@ -22,7 +22,7 @@ template<typename... Ts> class FollowMeAction : public MideaActionBase<Ts...> {
TEMPLATABLE_VALUE(bool, use_fahrenheit)
TEMPLATABLE_VALUE(bool, beeper)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->do_follow_me(this->temperature_.value(x...), this->use_fahrenheit_.value(x...),
this->beeper_.value(x...));
}
@@ -30,37 +30,37 @@ template<typename... Ts> class FollowMeAction : public MideaActionBase<Ts...> {
template<typename... Ts> class SwingStepAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_swing_step(); }
void play(const Ts &...x) override { this->parent_->do_swing_step(); }
};
template<typename... Ts> class DisplayToggleAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_display_toggle(); }
void play(const Ts &...x) override { this->parent_->do_display_toggle(); }
};
template<typename... Ts> class BeeperOnAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_beeper_on(); }
void play(const Ts &...x) override { this->parent_->do_beeper_on(); }
};
template<typename... Ts> class BeeperOffAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_beeper_off(); }
void play(const Ts &...x) override { this->parent_->do_beeper_off(); }
};
template<typename... Ts> class PowerOnAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_power_on(); }
void play(const Ts &...x) override { this->parent_->do_power_on(); }
};
template<typename... Ts> class PowerOffAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_power_off(); }
void play(const Ts &...x) override { this->parent_->do_power_off(); }
};
template<typename... Ts> class PowerToggleAction : public MideaActionBase<Ts...> {
public:
void play(Ts... x) override { this->parent_->do_power_toggle(); }
void play(const Ts &...x) override { this->parent_->do_power_toggle(); }
};
} // namespace ac

View File

@@ -9,7 +9,7 @@ namespace mixer_speaker {
template<typename... Ts> class DuckingApplyAction : public Action<Ts...>, public Parented<SourceSpeaker> {
TEMPLATABLE_VALUE(uint8_t, decibel_reduction)
TEMPLATABLE_VALUE(uint32_t, duration)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->apply_ducking(this->decibel_reduction_.value(x...), this->duration_.value(x...));
}
};

View File

@@ -389,7 +389,7 @@ template<typename... Ts> class MQTTPublishAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint8_t, qos)
TEMPLATABLE_VALUE(bool, retain)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->publish(this->topic_.value(x...), this->payload_.value(x...), this->qos_.value(x...),
this->retain_.value(x...));
}
@@ -407,7 +407,7 @@ template<typename... Ts> class MQTTPublishJsonAction : public Action<Ts...> {
void set_payload(std::function<void(Ts..., JsonObject)> payload) { this->payload_ = payload; }
void play(Ts... x) override {
void play(const Ts &...x) override {
auto f = std::bind(&MQTTPublishJsonAction<Ts...>::encode_, this, x..., std::placeholders::_1);
auto topic = this->topic_.value(x...);
auto qos = this->qos_.value(x...);
@@ -424,7 +424,7 @@ template<typename... Ts> class MQTTPublishJsonAction : public Action<Ts...> {
template<typename... Ts> class MQTTConnectedCondition : public Condition<Ts...> {
public:
MQTTConnectedCondition(MQTTClientComponent *parent) : parent_(parent) {}
bool check(Ts... x) override { return this->parent_->is_connected(); }
bool check(const Ts &...x) override { return this->parent_->is_connected(); }
protected:
MQTTClientComponent *parent_;
@@ -434,7 +434,7 @@ template<typename... Ts> class MQTTEnableAction : public Action<Ts...> {
public:
MQTTEnableAction(MQTTClientComponent *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->enable(); }
void play(const Ts &...x) override { this->parent_->enable(); }
protected:
MQTTClientComponent *parent_;
@@ -444,7 +444,7 @@ template<typename... Ts> class MQTTDisableAction : public Action<Ts...> {
public:
MQTTDisableAction(MQTTClientComponent *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->disable(); }
void play(const Ts &...x) override { this->parent_->disable(); }
protected:
MQTTClientComponent *parent_;

View File

@@ -101,18 +101,18 @@ class NAU7802Sensor : public sensor::Sensor, public PollingComponent, public i2c
template<typename... Ts>
class NAU7802CalbrateExternalOffsetAction : public Action<Ts...>, public Parented<NAU7802Sensor> {
public:
void play(Ts... x) override { this->parent_->calibrate_external_offset(); }
void play(const Ts &...x) override { this->parent_->calibrate_external_offset(); }
};
template<typename... Ts>
class NAU7802CalbrateInternalOffsetAction : public Action<Ts...>, public Parented<NAU7802Sensor> {
public:
void play(Ts... x) override { this->parent_->calibrate_internal_offset(); }
void play(const Ts &...x) override { this->parent_->calibrate_internal_offset(); }
};
template<typename... Ts> class NAU7802CalbrateGainAction : public Action<Ts...>, public Parented<NAU7802Sensor> {
public:
void play(Ts... x) override { this->parent_->calibrate_gain(); }
void play(const Ts &...x) override { this->parent_->calibrate_gain(); }
};
} // namespace nau7802

View File

@@ -55,7 +55,7 @@ template<typename... Ts> class NextionSetBrightnessAction : public Action<Ts...>
TEMPLATABLE_VALUE(float, brightness)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->component_->set_brightness(this->brightness_.value(x...));
this->component_->set_backlight_brightness(this->brightness_.value(x...));
}
@@ -74,7 +74,7 @@ template<typename... Ts> class NextionPublishFloatAction : public Action<Ts...>
TEMPLATABLE_VALUE(bool, publish_state)
TEMPLATABLE_VALUE(bool, send_to_nextion)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->component_->set_state(this->state_.value(x...), this->publish_state_.value(x...),
this->send_to_nextion_.value(x...));
}
@@ -97,7 +97,7 @@ template<typename... Ts> class NextionPublishTextAction : public Action<Ts...> {
TEMPLATABLE_VALUE(bool, publish_state)
TEMPLATABLE_VALUE(bool, send_to_nextion)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->component_->set_state(this->state_.value(x...), this->publish_state_.value(x...),
this->send_to_nextion_.value(x...));
}
@@ -120,7 +120,7 @@ template<typename... Ts> class NextionPublishBoolAction : public Action<Ts...> {
TEMPLATABLE_VALUE(bool, publish_state)
TEMPLATABLE_VALUE(bool, send_to_nextion)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->component_->set_state(this->state_.value(x...), this->publish_state_.value(x...),
this->send_to_nextion_.value(x...));
}

View File

@@ -19,7 +19,7 @@ template<typename... Ts> class NumberSetAction : public Action<Ts...> {
NumberSetAction(Number *number) : number_(number) {}
TEMPLATABLE_VALUE(float, value)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->number_->make_call();
call.set_value(this->value_.value(x...));
call.perform();
@@ -35,7 +35,7 @@ template<typename... Ts> class NumberOperationAction : public Action<Ts...> {
TEMPLATABLE_VALUE(NumberOperation, operation)
TEMPLATABLE_VALUE(bool, cycle)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->number_->make_call();
call.with_operation(this->operation_.value(x...));
if (this->cycle_.has_value()) {
@@ -74,7 +74,7 @@ template<typename... Ts> class NumberInRangeCondition : public Condition<Ts...>
void set_min(float min) { this->min_ = min; }
void set_max(float max) { this->max_ = max; }
bool check(Ts... x) override {
bool check(const Ts &...x) override {
const float state = this->parent_->state;
if (std::isnan(this->min_)) {
return state <= this->max_;

View File

@@ -207,7 +207,7 @@ template<typename... Ts> class OnlineImageSetUrlAction : public Action<Ts...> {
OnlineImageSetUrlAction(OnlineImage *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(std::string, url)
TEMPLATABLE_VALUE(bool, update)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->set_url(this->url_.value(x...));
if (this->update_.value(x...)) {
this->parent_->update();
@@ -221,7 +221,7 @@ template<typename... Ts> class OnlineImageSetUrlAction : public Action<Ts...> {
template<typename... Ts> class OnlineImageReleaseAction : public Action<Ts...> {
public:
OnlineImageReleaseAction(OnlineImage *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->release(); }
void play(const Ts &...x) override { this->parent_->release(); }
protected:
OnlineImage *parent_;

View File

@@ -161,9 +161,6 @@ FINAL_VALIDATE_SCHEMA = _final_validate
async def to_code(config):
cg.add_define("USE_OPENTHREAD")
# OpenThread uses esp_vfs_eventfd which requires VFS select support
require_vfs_select()
# OpenThread SRP needs access to mDNS services after setup
enable_mdns_storage()

View File

@@ -12,7 +12,7 @@ template<typename... Ts> class TurnOffAction : public Action<Ts...> {
public:
TurnOffAction(BinaryOutput *output) : output_(output) {}
void play(Ts... x) override { this->output_->turn_off(); }
void play(const Ts &...x) override { this->output_->turn_off(); }
protected:
BinaryOutput *output_;
@@ -22,7 +22,7 @@ template<typename... Ts> class TurnOnAction : public Action<Ts...> {
public:
TurnOnAction(BinaryOutput *output) : output_(output) {}
void play(Ts... x) override { this->output_->turn_on(); }
void play(const Ts &...x) override { this->output_->turn_on(); }
protected:
BinaryOutput *output_;
@@ -34,7 +34,7 @@ template<typename... Ts> class SetLevelAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, level)
void play(Ts... x) override { this->output_->set_level(this->level_.value(x...)); }
void play(const Ts &...x) override { this->output_->set_level(this->level_.value(x...)); }
protected:
FloatOutput *output_;
@@ -46,7 +46,7 @@ template<typename... Ts> class SetMinPowerAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, min_power)
void play(Ts... x) override { this->output_->set_min_power(this->min_power_.value(x...)); }
void play(const Ts &...x) override { this->output_->set_min_power(this->min_power_.value(x...)); }
protected:
FloatOutput *output_;
@@ -58,7 +58,7 @@ template<typename... Ts> class SetMaxPowerAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, max_power)
void play(Ts... x) override { this->output_->set_max_power(this->max_power_.value(x...)); }
void play(const Ts &...x) override { this->output_->set_max_power(this->max_power_.value(x...)); }
protected:
FloatOutput *output_;

View File

@@ -85,12 +85,12 @@ class PCF85063Component : public time::RealTimeClock, public i2c::I2CDevice {
template<typename... Ts> class WriteAction : public Action<Ts...>, public Parented<PCF85063Component> {
public:
void play(Ts... x) override { this->parent_->write_time(); }
void play(const Ts &...x) override { this->parent_->write_time(); }
};
template<typename... Ts> class ReadAction : public Action<Ts...>, public Parented<PCF85063Component> {
public:
void play(Ts... x) override { this->parent_->read_time(); }
void play(const Ts &...x) override { this->parent_->read_time(); }
};
} // namespace pcf85063
} // namespace esphome

View File

@@ -113,12 +113,12 @@ class PCF8563Component : public time::RealTimeClock, public i2c::I2CDevice {
template<typename... Ts> class WriteAction : public Action<Ts...>, public Parented<PCF8563Component> {
public:
void play(Ts... x) override { this->parent_->write_time(); }
void play(const Ts &...x) override { this->parent_->write_time(); }
};
template<typename... Ts> class ReadAction : public Action<Ts...>, public Parented<PCF8563Component> {
public:
void play(Ts... x) override { this->parent_->read_time(); }
void play(const Ts &...x) override { this->parent_->read_time(); }
};
} // namespace pcf8563
} // namespace esphome

View File

@@ -109,7 +109,7 @@ template<typename... Ts> class PIDAutotuneAction : public Action<Ts...> {
void set_positive_output(float positive_output) { positive_output_ = positive_output; }
void set_negative_output(float negative_output) { negative_output_ = negative_output; }
void play(Ts... x) {
void play(const Ts &...x) {
auto tuner = make_unique<PIDAutotuner>();
tuner->set_noiseband(this->noiseband_);
tuner->set_output_negative(this->negative_output_);
@@ -128,7 +128,7 @@ template<typename... Ts> class PIDResetIntegralTermAction : public Action<Ts...>
public:
PIDResetIntegralTermAction(PIDClimate *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->reset_integral_term(); }
void play(const Ts &...x) { this->parent_->reset_integral_term(); }
protected:
PIDClimate *parent_;
@@ -138,7 +138,7 @@ template<typename... Ts> class PIDSetControlParametersAction : public Action<Ts.
public:
PIDSetControlParametersAction(PIDClimate *parent) : parent_(parent) {}
void play(Ts... x) {
void play(const Ts &...x) {
auto kp = this->kp_.value(x...);
auto ki = this->ki_.value(x...);
auto kd = this->kd_.value(x...);

View File

@@ -32,7 +32,7 @@ template<typename... Ts> class SetOutputAction : public Action<Ts...> {
TEMPLATABLE_VALUE(float, level)
void play(Ts... x) override { this->output_->set_value(this->level_.value(x...)); }
void play(const Ts &...x) override { this->output_->set_value(this->level_.value(x...)); }
protected:
PipsolarOutput *output_;

View File

@@ -38,7 +38,7 @@ template<typename... Ts> class PMWCS3AirCalibrationAction : public Action<Ts...>
public:
PMWCS3AirCalibrationAction(PMWCS3Component *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->air_calibration(); }
void play(const Ts &...x) override { this->parent_->air_calibration(); }
protected:
PMWCS3Component *parent_;
@@ -48,7 +48,7 @@ template<typename... Ts> class PMWCS3WaterCalibrationAction : public Action<Ts..
public:
PMWCS3WaterCalibrationAction(PMWCS3Component *parent) : parent_(parent) {}
void play(Ts... x) override { this->parent_->water_calibration(); }
void play(const Ts &...x) override { this->parent_->water_calibration(); }
protected:
PMWCS3Component *parent_;
@@ -59,7 +59,7 @@ template<typename... Ts> class PMWCS3NewI2cAddressAction : public Action<Ts...>
PMWCS3NewI2cAddressAction(PMWCS3Component *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(int, new_address)
void play(Ts... x) override { this->parent_->new_i2c_address(this->new_address_.value(x...)); }
void play(const Ts &...x) override { this->parent_->new_i2c_address(this->new_address_.value(x...)); }
protected:
PMWCS3Component *parent_;

View File

@@ -143,7 +143,7 @@ class PN532OnFinishedWriteTrigger : public Trigger<> {
template<typename... Ts> class PN532IsWritingCondition : public Condition<Ts...>, public Parented<PN532> {
public:
bool check(Ts... x) override { return this->parent_->is_writing(); }
bool check(const Ts &...x) override { return this->parent_->is_writing(); }
};
} // namespace pn532

View File

@@ -23,42 +23,42 @@ class PN7150OnFinishedWriteTrigger : public Trigger<> {
template<typename... Ts> class PN7150IsWritingCondition : public Condition<Ts...>, public Parented<PN7150> {
public:
bool check(Ts... x) override { return this->parent_->is_writing(); }
bool check(const Ts &...x) override { return this->parent_->is_writing(); }
};
template<typename... Ts> class EmulationOffAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->set_tag_emulation_off(); }
void play(const Ts &...x) override { this->parent_->set_tag_emulation_off(); }
};
template<typename... Ts> class EmulationOnAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->set_tag_emulation_on(); }
void play(const Ts &...x) override { this->parent_->set_tag_emulation_on(); }
};
template<typename... Ts> class PollingOffAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->set_polling_off(); }
void play(const Ts &...x) override { this->parent_->set_polling_off(); }
};
template<typename... Ts> class PollingOnAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->set_polling_on(); }
void play(const Ts &...x) override { this->parent_->set_polling_on(); }
};
template<typename... Ts> class SetCleanModeAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->clean_mode(); }
void play(const Ts &...x) override { this->parent_->clean_mode(); }
};
template<typename... Ts> class SetFormatModeAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->format_mode(); }
void play(const Ts &...x) override { this->parent_->format_mode(); }
};
template<typename... Ts> class SetReadModeAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->read_mode(); }
void play(const Ts &...x) override { this->parent_->read_mode(); }
};
template<typename... Ts> class SetEmulationMessageAction : public Action<Ts...>, public Parented<PN7150> {
TEMPLATABLE_VALUE(std::string, message)
TEMPLATABLE_VALUE(bool, include_android_app_record)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->set_tag_emulation_message(this->message_.optional_value(x...),
this->include_android_app_record_.optional_value(x...));
}
@@ -68,14 +68,14 @@ template<typename... Ts> class SetWriteMessageAction : public Action<Ts...>, pub
TEMPLATABLE_VALUE(std::string, message)
TEMPLATABLE_VALUE(bool, include_android_app_record)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->set_tag_write_message(this->message_.optional_value(x...),
this->include_android_app_record_.optional_value(x...));
}
};
template<typename... Ts> class SetWriteModeAction : public Action<Ts...>, public Parented<PN7150> {
void play(Ts... x) override { this->parent_->write_mode(); }
void play(const Ts &...x) override { this->parent_->write_mode(); }
};
} // namespace pn7150

View File

@@ -23,42 +23,42 @@ class PN7160OnFinishedWriteTrigger : public Trigger<> {
template<typename... Ts> class PN7160IsWritingCondition : public Condition<Ts...>, public Parented<PN7160> {
public:
bool check(Ts... x) override { return this->parent_->is_writing(); }
bool check(const Ts &...x) override { return this->parent_->is_writing(); }
};
template<typename... Ts> class EmulationOffAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->set_tag_emulation_off(); }
void play(const Ts &...x) override { this->parent_->set_tag_emulation_off(); }
};
template<typename... Ts> class EmulationOnAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->set_tag_emulation_on(); }
void play(const Ts &...x) override { this->parent_->set_tag_emulation_on(); }
};
template<typename... Ts> class PollingOffAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->set_polling_off(); }
void play(const Ts &...x) override { this->parent_->set_polling_off(); }
};
template<typename... Ts> class PollingOnAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->set_polling_on(); }
void play(const Ts &...x) override { this->parent_->set_polling_on(); }
};
template<typename... Ts> class SetCleanModeAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->clean_mode(); }
void play(const Ts &...x) override { this->parent_->clean_mode(); }
};
template<typename... Ts> class SetFormatModeAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->format_mode(); }
void play(const Ts &...x) override { this->parent_->format_mode(); }
};
template<typename... Ts> class SetReadModeAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->read_mode(); }
void play(const Ts &...x) override { this->parent_->read_mode(); }
};
template<typename... Ts> class SetEmulationMessageAction : public Action<Ts...>, public Parented<PN7160> {
TEMPLATABLE_VALUE(std::string, message)
TEMPLATABLE_VALUE(bool, include_android_app_record)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->set_tag_emulation_message(this->message_.optional_value(x...),
this->include_android_app_record_.optional_value(x...));
}
@@ -68,14 +68,14 @@ template<typename... Ts> class SetWriteMessageAction : public Action<Ts...>, pub
TEMPLATABLE_VALUE(std::string, message)
TEMPLATABLE_VALUE(bool, include_android_app_record)
void play(Ts... x) override {
void play(const Ts &...x) override {
this->parent_->set_tag_write_message(this->message_.optional_value(x...),
this->include_android_app_record_.optional_value(x...));
}
};
template<typename... Ts> class SetWriteModeAction : public Action<Ts...>, public Parented<PN7160> {
void play(Ts... x) override { this->parent_->write_mode(); }
void play(const Ts &...x) override { this->parent_->write_mode(); }
};
} // namespace pn7160

View File

@@ -14,7 +14,7 @@ template<typename... Ts> class SetTotalPulsesAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint32_t, total_pulses)
void play(Ts... x) override { this->pulse_counter_->set_total_pulses(this->total_pulses_.value(x...)); }
void play(const Ts &...x) override { this->pulse_counter_->set_total_pulses(this->total_pulses_.value(x...)); }
protected:
PulseCounterSensor *pulse_counter_;

View File

@@ -14,7 +14,7 @@ template<typename... Ts> class SetTotalPulsesAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint32_t, total_pulses)
void play(Ts... x) override { this->pulse_meter_->set_total_pulses(this->total_pulses_.value(x...)); }
void play(const Ts &...x) override { this->pulse_meter_->set_total_pulses(this->total_pulses_.value(x...)); }
protected:
PulseMeterSensor *pulse_meter_;

View File

@@ -43,7 +43,7 @@ template<typename... Ts> class ResetEnergyAction : public Action<Ts...> {
public:
ResetEnergyAction(PZEMAC *pzemac) : pzemac_(pzemac) {}
void play(Ts... x) override { this->pzemac_->reset_energy_(); }
void play(const Ts &...x) override { this->pzemac_->reset_energy_(); }
protected:
PZEMAC *pzemac_;

View File

@@ -36,7 +36,7 @@ template<typename... Ts> class ResetEnergyAction : public Action<Ts...> {
public:
ResetEnergyAction(PZEMDC *pzemdc) : pzemdc_(pzemdc) {}
void play(Ts... x) override { this->pzemdc_->reset_energy(); }
void play(const Ts &...x) override { this->pzemdc_->reset_energy(); }
protected:
PZEMDC *pzemdc_;

View File

@@ -276,7 +276,7 @@ template<typename... Ts> class RemoteTransmitterActionBase : public RemoteTransm
TEMPLATABLE_VALUE(uint32_t, send_wait)
protected:
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->transmitter_->transmit();
this->encode(call.get_data(), x...);
call.set_send_times(this->send_times_.value_or(x..., 1));

View File

@@ -11,7 +11,7 @@ namespace remote_transmitter {
template<typename... Ts> class DigitalWriteAction : public Action<Ts...>, public Parented<RemoteTransmitterComponent> {
public:
TEMPLATABLE_VALUE(bool, value)
void play(Ts... x) override { this->parent_->digital_write(this->value_.value(x...)); }
void play(const Ts &...x) override { this->parent_->digital_write(this->value_.value(x...)); }
};
} // namespace remote_transmitter

View File

@@ -98,7 +98,7 @@ template<typename... Ts> class RFBridgeSendCodeAction : public Action<Ts...> {
TEMPLATABLE_VALUE(uint16_t, high)
TEMPLATABLE_VALUE(uint32_t, code)
void play(Ts... x) {
void play(const Ts &...x) {
RFBridgeData data{};
data.sync = this->sync_.value(x...);
data.low = this->low_.value(x...);
@@ -118,7 +118,7 @@ template<typename... Ts> class RFBridgeSendAdvancedCodeAction : public Action<Ts
TEMPLATABLE_VALUE(uint8_t, protocol)
TEMPLATABLE_VALUE(std::string, code)
void play(Ts... x) {
void play(const Ts &...x) {
RFBridgeAdvancedData data{};
data.length = this->length_.value(x...);
data.protocol = this->protocol_.value(x...);
@@ -134,7 +134,7 @@ template<typename... Ts> class RFBridgeLearnAction : public Action<Ts...> {
public:
RFBridgeLearnAction(RFBridgeComponent *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->learn(); }
void play(const Ts &...x) { this->parent_->learn(); }
protected:
RFBridgeComponent *parent_;
@@ -144,7 +144,7 @@ template<typename... Ts> class RFBridgeStartAdvancedSniffingAction : public Acti
public:
RFBridgeStartAdvancedSniffingAction(RFBridgeComponent *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->start_advanced_sniffing(); }
void play(const Ts &...x) { this->parent_->start_advanced_sniffing(); }
protected:
RFBridgeComponent *parent_;
@@ -154,7 +154,7 @@ template<typename... Ts> class RFBridgeStopAdvancedSniffingAction : public Actio
public:
RFBridgeStopAdvancedSniffingAction(RFBridgeComponent *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->stop_advanced_sniffing(); }
void play(const Ts &...x) { this->parent_->stop_advanced_sniffing(); }
protected:
RFBridgeComponent *parent_;
@@ -164,7 +164,7 @@ template<typename... Ts> class RFBridgeStartBucketSniffingAction : public Action
public:
RFBridgeStartBucketSniffingAction(RFBridgeComponent *parent) : parent_(parent) {}
void play(Ts... x) { this->parent_->start_bucket_sniffing(); }
void play(const Ts &...x) { this->parent_->start_bucket_sniffing(); }
protected:
RFBridgeComponent *parent_;
@@ -175,7 +175,7 @@ template<typename... Ts> class RFBridgeSendRawAction : public Action<Ts...> {
RFBridgeSendRawAction(RFBridgeComponent *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(std::string, raw)
void play(Ts... x) { this->parent_->send_raw(this->raw_.value(x...)); }
void play(const Ts &...x) { this->parent_->send_raw(this->raw_.value(x...)); }
protected:
RFBridgeComponent *parent_;
@@ -186,7 +186,7 @@ template<typename... Ts> class RFBridgeBeepAction : public Action<Ts...> {
RFBridgeBeepAction(RFBridgeComponent *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(uint16_t, duration)
void play(Ts... x) { this->parent_->beep(this->duration_.value(x...)); }
void play(const Ts &...x) { this->parent_->beep(this->duration_.value(x...)); }
protected:
RFBridgeComponent *parent_;

View File

@@ -114,7 +114,7 @@ template<typename... Ts> class RotaryEncoderSetValueAction : public Action<Ts...
RotaryEncoderSetValueAction(RotaryEncoderSensor *encoder) : encoder_(encoder) {}
TEMPLATABLE_VALUE(int, value)
void play(Ts... x) override { this->encoder_->set_value(this->value_.value(x...)); }
void play(const Ts &...x) override { this->encoder_->set_value(this->value_.value(x...)); }
protected:
RotaryEncoderSensor *encoder_;

View File

@@ -45,7 +45,7 @@ template<typename... Ts> class SetFrequencyAction : public Action<Ts...> {
SetFrequencyAction(RP2040PWM *parent) : parent_(parent) {}
TEMPLATABLE_VALUE(float, frequency);
void play(Ts... x) {
void play(const Ts &...x) {
float freq = this->frequency_.value(x...);
this->parent_->update_frequency(freq);
}

View File

@@ -122,7 +122,7 @@ template<typename... Ts> class PlayAction : public Action<Ts...> {
PlayAction(Rtttl *rtttl) : rtttl_(rtttl) {}
TEMPLATABLE_VALUE(std::string, value)
void play(Ts... x) override { this->rtttl_->play(this->value_.value(x...)); }
void play(const Ts &...x) override { this->rtttl_->play(this->value_.value(x...)); }
protected:
Rtttl *rtttl_;
@@ -130,12 +130,12 @@ template<typename... Ts> class PlayAction : public Action<Ts...> {
template<typename... Ts> class StopAction : public Action<Ts...>, public Parented<Rtttl> {
public:
void play(Ts... x) override { this->parent_->stop(); }
void play(const Ts &...x) override { this->parent_->stop(); }
};
template<typename... Ts> class IsPlayingCondition : public Condition<Ts...>, public Parented<Rtttl> {
public:
bool check(Ts... x) override { return this->parent_->is_playing(); }
bool check(const Ts &...x) override { return this->parent_->is_playing(); }
};
class FinishedPlaybackTrigger : public Trigger<> {

View File

@@ -9,7 +9,7 @@ namespace scd30 {
template<typename... Ts> class ForceRecalibrationWithReference : public Action<Ts...>, public Parented<SCD30Component> {
public:
void play(Ts... x) override {
void play(const Ts &...x) override {
if (this->value_.has_value()) {
this->parent_->force_recalibration_with_reference(this->value_.value(x...));
}

View File

@@ -9,7 +9,7 @@ namespace scd4x {
template<typename... Ts> class PerformForcedCalibrationAction : public Action<Ts...>, public Parented<SCD4XComponent> {
public:
void play(Ts... x) override {
void play(const Ts &...x) override {
if (this->value_.has_value()) {
this->parent_->perform_forced_calibration(this->value_.value(x...));
}
@@ -21,7 +21,7 @@ template<typename... Ts> class PerformForcedCalibrationAction : public Action<Ts
template<typename... Ts> class FactoryResetAction : public Action<Ts...>, public Parented<SCD4XComponent> {
public:
void play(Ts... x) override { this->parent_->factory_reset(); }
void play(const Ts &...x) override { this->parent_->factory_reset(); }
};
} // namespace scd4x

View File

@@ -215,7 +215,7 @@ template<class... As, typename... Ts> class ScriptExecuteAction<Script<As...>, T
template<typename... F> void set_args(F... x) { args_ = Args{x...}; }
void play(Ts... x) override { this->script_->execute_tuple(this->eval_args_(x...)); }
void play(const Ts &...x) override { this->script_->execute_tuple(this->eval_args_(x...)); }
protected:
// NOTE:
@@ -249,7 +249,7 @@ template<class C, typename... Ts> class ScriptStopAction : public Action<Ts...>
public:
ScriptStopAction(C *script) : script_(script) {}
void play(Ts... x) override { this->script_->stop(); }
void play(const Ts &...x) override { this->script_->stop(); }
protected:
C *script_;
@@ -259,7 +259,7 @@ template<class C, typename... Ts> class IsRunningCondition : public Condition<Ts
public:
explicit IsRunningCondition(C *parent) : parent_(parent) {}
bool check(Ts... x) override { return this->parent_->is_running(); }
bool check(const Ts &...x) override { return this->parent_->is_running(); }
protected:
C *parent_;
@@ -281,7 +281,7 @@ template<class C, typename... Ts> class ScriptWaitAction : public Action<Ts...>,
this->disable_loop();
}
void play_complex(Ts... x) override {
void play_complex(const Ts &...x) override {
this->num_running_++;
// Check if we can continue immediately.
if (!this->script_->is_running()) {
@@ -312,7 +312,7 @@ template<class C, typename... Ts> class ScriptWaitAction : public Action<Ts...>,
this->disable_loop();
}
void play(Ts... x) override { /* ignore - see play_complex */
void play(const Ts &...x) override { /* ignore - see play_complex */
}
void stop() override {

View File

@@ -19,7 +19,7 @@ template<typename... Ts> class SelectSetAction : public Action<Ts...> {
explicit SelectSetAction(Select *select) : select_(select) {}
TEMPLATABLE_VALUE(std::string, option)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->select_->make_call();
call.set_option(this->option_.value(x...));
call.perform();
@@ -34,7 +34,7 @@ template<typename... Ts> class SelectSetIndexAction : public Action<Ts...> {
explicit SelectSetIndexAction(Select *select) : select_(select) {}
TEMPLATABLE_VALUE(size_t, index)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->select_->make_call();
call.set_index(this->index_.value(x...));
call.perform();
@@ -50,7 +50,7 @@ template<typename... Ts> class SelectOperationAction : public Action<Ts...> {
TEMPLATABLE_VALUE(bool, cycle)
TEMPLATABLE_VALUE(SelectOperation, operation)
void play(Ts... x) override {
void play(const Ts &...x) override {
auto call = this->select_->make_call();
call.with_operation(this->operation_.value(x...));
if (this->cycle_.has_value()) {

View File

@@ -11,7 +11,7 @@ template<typename... Ts> class StartFanAction : public Action<Ts...> {
public:
explicit StartFanAction(SEN5XComponent *sen5x) : sen5x_(sen5x) {}
void play(Ts... x) override { this->sen5x_->start_fan_cleaning(); }
void play(const Ts &...x) override { this->sen5x_->start_fan_cleaning(); }
protected:
SEN5XComponent *sen5x_;

View File

@@ -42,7 +42,7 @@ template<typename... Ts> class SenseAirBackgroundCalibrationAction : public Acti
public:
SenseAirBackgroundCalibrationAction(SenseAirComponent *senseair) : senseair_(senseair) {}
void play(Ts... x) override { this->senseair_->background_calibration(); }
void play(const Ts &...x) override { this->senseair_->background_calibration(); }
protected:
SenseAirComponent *senseair_;
@@ -52,7 +52,7 @@ template<typename... Ts> class SenseAirBackgroundCalibrationResultAction : publi
public:
SenseAirBackgroundCalibrationResultAction(SenseAirComponent *senseair) : senseair_(senseair) {}
void play(Ts... x) override { this->senseair_->background_calibration_result(); }
void play(const Ts &...x) override { this->senseair_->background_calibration_result(); }
protected:
SenseAirComponent *senseair_;
@@ -62,7 +62,7 @@ template<typename... Ts> class SenseAirABCEnableAction : public Action<Ts...> {
public:
SenseAirABCEnableAction(SenseAirComponent *senseair) : senseair_(senseair) {}
void play(Ts... x) override { this->senseair_->abc_enable(); }
void play(const Ts &...x) override { this->senseair_->abc_enable(); }
protected:
SenseAirComponent *senseair_;
@@ -72,7 +72,7 @@ template<typename... Ts> class SenseAirABCDisableAction : public Action<Ts...> {
public:
SenseAirABCDisableAction(SenseAirComponent *senseair) : senseair_(senseair) {}
void play(Ts... x) override { this->senseair_->abc_disable(); }
void play(const Ts &...x) override { this->senseair_->abc_disable(); }
protected:
SenseAirComponent *senseair_;
@@ -82,7 +82,7 @@ template<typename... Ts> class SenseAirABCGetPeriodAction : public Action<Ts...>
public:
SenseAirABCGetPeriodAction(SenseAirComponent *senseair) : senseair_(senseair) {}
void play(Ts... x) override { this->senseair_->abc_get_period(); }
void play(const Ts &...x) override { this->senseair_->abc_get_period(); }
protected:
SenseAirComponent *senseair_;

View File

@@ -26,7 +26,7 @@ template<typename... Ts> class SensorPublishAction : public Action<Ts...> {
SensorPublishAction(Sensor *sensor) : sensor_(sensor) {}
TEMPLATABLE_VALUE(float, state)
void play(Ts... x) override { this->sensor_->publish_state(this->state_.value(x...)); }
void play(const Ts &...x) override { this->sensor_->publish_state(this->state_.value(x...)); }
protected:
Sensor *sensor_;
@@ -90,7 +90,7 @@ template<typename... Ts> class SensorInRangeCondition : public Condition<Ts...>
void set_min(float min) { this->min_ = min; }
void set_max(float max) { this->max_ = max; }
bool check(Ts... x) override {
bool check(const Ts &...x) override {
const float state = this->parent_->state;
if (std::isnan(this->min_)) {
return state <= this->max_;

View File

@@ -57,7 +57,7 @@ template<typename... Ts> class ServoWriteAction : public Action<Ts...> {
ServoWriteAction(Servo *servo) : servo_(servo) {}
TEMPLATABLE_VALUE(float, value)
void play(Ts... x) override { this->servo_->write(this->value_.value(x...)); }
void play(const Ts &...x) override { this->servo_->write(this->value_.value(x...)); }
protected:
Servo *servo_;
@@ -67,7 +67,7 @@ template<typename... Ts> class ServoDetachAction : public Action<Ts...> {
public:
ServoDetachAction(Servo *servo) : servo_(servo) {}
void play(Ts... x) override { this->servo_->detach(); }
void play(const Ts &...x) override { this->servo_->detach(); }
protected:
Servo *servo_;

Some files were not shown because too many files have changed in this diff Show More