Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deep Sleep WIP #11

Open
wants to merge 1,547 commits into
base: platform/libretuya
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1547 commits
Select commit Hold shift + click to select a range
16d154e
Add MAC address to WiFi config reply (#6489)
cvwillegen Apr 9, 2024
5441213
Adds i2c timeout config (#4614)
tracestep Apr 9, 2024
3b6e8fa
Add ABB-Welcome / Busch-Welcome Door Intercom Protocol (#4689)
Mat931 Apr 9, 2024
76c5337
Add support for time entities (#6399)
jesserockz Apr 9, 2024
55c4928
Fix Match by IRK (#6499)
MRemy2 Apr 9, 2024
c66b2c5
Add rmt_channel to remote_transmitter and remote_receiver (#6497)
jesserockz Apr 9, 2024
12aa272
Rework tlc5947 to remove AUTO_LOAD (#6503)
jesserockz Apr 9, 2024
0ba4e8c
UART: ignore require_tx/rx if not a native uart implementation (#6504)
jesserockz Apr 9, 2024
857b8ef
esp32_rmt_led_strip bugfixes (#6506)
Mat931 Apr 9, 2024
3adfed3
Implemented support for the TLC5971 as an output component (#6494)
IJIJI Apr 9, 2024
522b43b
Add Dooya protocol to remote_base (#6488)
bukureckid Apr 9, 2024
e5e8bc8
Only give error for connected sensors at startup (#6474)
leejoow Apr 9, 2024
b4b4e81
Webserver float to string fix (#6507)
RFDarter Apr 9, 2024
8f89311
Merge branch 'release' into dev
jesserockz Apr 10, 2024
9af083a
Bump version to 2024.4.0b1
jesserockz Apr 10, 2024
a102e98
Bump version to 2024.5.0-dev
jesserockz Apr 10, 2024
4a11885
Merge pull request #6510 from esphome/bump-2024.4.0b1
jesserockz Apr 10, 2024
1e0f6e1
Add dooya remote transmitter test (#6508)
jesserockz Apr 10, 2024
e59b816
Add some components to the new testing framework (H) (#6179)
kbx81 Apr 10, 2024
6d480c5
ads1115: remove auto-load and split sensor into platform folder (#5981)
jesserockz Apr 10, 2024
e6bfa27
Bump esphome-dashboard to 20240412.0 (#6517)
jesserockz Apr 11, 2024
68b4d88
Add dooya remote transmitter test (#6508)
jesserockz Apr 10, 2024
1d4c074
ads1115: remove auto-load and split sensor into platform folder (#5981)
jesserockz Apr 10, 2024
4ebbd4e
Bump esphome-dashboard to 20240412.0 (#6517)
jesserockz Apr 11, 2024
8ada8f5
Bump version to 2024.4.0b2
jesserockz Apr 11, 2024
3ec7f42
Merge pull request #6518 from esphome/bump-2024.4.0b2
jesserockz Apr 11, 2024
5543346
Fix missing ifdefs in voice assistant (#6520)
jesserockz Apr 11, 2024
39947a1
Added Htu21d model option (#6511)
MRemy2 Apr 11, 2024
810cf3b
Add bk72xx base test file (#6522)
jesserockz Apr 11, 2024
7eb524f
Add "log" alias for "logs" command (#6519)
pzich Apr 12, 2024
76daefe
Add ethernet DNS text sensor and simplify DNS display format (#6450)
HeMan Apr 12, 2024
1ab4fc8
Add all missing `remote_receiver` `on_...` tests (#6524)
kbx81 Apr 12, 2024
6370e68
Add actions to http_request tests (#6529)
kbx81 Apr 14, 2024
dc20094
Fix project version longer than 30 characters breaking compilation (#…
jesserockz Apr 15, 2024
b43ad5d
Update homeassistant component tests with actions (#6528)
kbx81 Apr 15, 2024
86f9af1
Fix no-release bug on ft6x36 (#6527)
clydebarrow Apr 15, 2024
ff0d33f
Fix missing ifdefs in voice assistant (#6520)
jesserockz Apr 11, 2024
ed02747
Fix project version longer than 30 characters breaking compilation (#…
jesserockz Apr 15, 2024
09fbdde
Fix no-release bug on ft6x36 (#6527)
clydebarrow Apr 15, 2024
b6f1cfd
Bump version to 2024.4.0b3
jesserockz Apr 15, 2024
3bae72a
Merge pull request #6536 from esphome/bump-2024.4.0b3
jesserockz Apr 15, 2024
0e3021b
Merge branch 'beta' into dev
jesserockz Apr 15, 2024
6876c65
Define `USE_PSRAM` (#6526)
edwardtfn Apr 15, 2024
b3f02e5
Bump black from 24.2.0 to 24.4.0 (#6539)
dependabot[bot] Apr 15, 2024
cca5f81
Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#6525)
dependabot[bot] Apr 15, 2024
27b286b
Bump python version in sync-device-classes workflow to 3.12 for HA (#…
jesserockz Apr 15, 2024
0141982
Bump pylint from 3.0.3 to 3.1.0 (#6287)
dependabot[bot] Apr 15, 2024
80488a2
Bump aioesphomeapi from 23.2.0 to 24.0.0 (#6544)
dependabot[bot] Apr 16, 2024
7d99676
Bump pyupgrade from 3.15.1 to 3.15.2 (#6543)
dependabot[bot] Apr 16, 2024
6a1ea06
Add enum option to typed_schema (#6546)
jesserockz Apr 16, 2024
f2a1258
Bump version to 2024.4.0
jesserockz Apr 17, 2024
e1b861a
Merge pull request #6547 from esphome/bump-2024.4.0
jesserockz Apr 17, 2024
ec4f96a
Merge branch 'release' into dev
jesserockz Apr 17, 2024
0af26fd
Move esphome-fork startup script to main repo. (#6523)
jesserockz Apr 17, 2024
ca5d38f
Call workflow for addon with dev version (#6549)
jesserockz Apr 17, 2024
83feae4
Use trusted publishing token for pypi (#6545)
jesserockz Apr 17, 2024
6104e75
Fix uart to work with new enum definition in esp-idf-v5.2.1 (#6487)
luar123 Apr 17, 2024
717cea5
Housecleaning: Use walrus operator in datetime (#6552)
jesserockz Apr 17, 2024
2fc2d58
Housecleaning: Use walrus operator in text (#6560)
jesserockz Apr 17, 2024
3f01556
Housecleaning: Use walrus operator in light (#6556)
jesserockz Apr 17, 2024
8eff343
Housecleaning: Use walrus operator in select (#6557)
jesserockz Apr 17, 2024
21e3faa
Housecleaning: Use walrus operator in number (#6561)
jesserockz Apr 17, 2024
fa1adf7
Housecleaning: Use walrus operator in cover (#6562)
jesserockz Apr 17, 2024
77ade12
Housecleaning: Use walrus operator in climate (#6551)
jesserockz Apr 17, 2024
214c237
Housecleaning: Use walrus operator in fan (#6555)
jesserockz Apr 17, 2024
7733781
Housecleaning: Use walrus operator in text_sensor (#6559)
jesserockz Apr 17, 2024
987ffcb
Bump zeroconf to 0.132.2 (#6548)
bdraco Apr 17, 2024
51ed6d6
[Tuya Climate] Fix compilation error caused by codegen (#6568)
zry98 Apr 17, 2024
c8cdb30
Housecleaning: Use walrus operator in switch (#6558)
jesserockz Apr 17, 2024
72c1c3f
Housecleaning: Use walrus operator in lock (#6554)
jesserockz Apr 17, 2024
4559e96
Housecleaning: Use walrus operator in sensor (#6553)
jesserockz Apr 17, 2024
09def25
Bump pytest-mock from 3.12.0 to 3.14.0 (#6572)
dependabot[bot] Apr 17, 2024
6075067
Bump peter-evans/create-pull-request from 6.0.3 to 6.0.4 (#6569)
dependabot[bot] Apr 17, 2024
8c323e2
Nextion - Review set_protocol_reparse_mode() (#6567)
edwardtfn Apr 17, 2024
abc09a1
Allow component final_validate (#6475)
kbx81 Apr 17, 2024
5a093ac
SM2135 - Use standard channel ordering. (#6573)
Cossid Apr 18, 2024
39deb89
Nextion - Do not refresh sensors while updating (#6566)
edwardtfn Apr 18, 2024
197f9d6
Nextion - Review types (#6565)
edwardtfn Apr 18, 2024
2fed695
On failure, dump the output of preceding jobs in CI status (#6564)
clydebarrow Apr 18, 2024
2e7ac26
Nextion `send_command` method (#6540)
edwardtfn Apr 18, 2024
8c31aea
Fix some printf formats for size_t. (#6542)
clydebarrow Apr 18, 2024
655dbc4
remove delay from tmp102 (#6577)
ssieb Apr 18, 2024
45ae78d
Create ``component_dir`` substitution for local files to be included …
jesserockz Apr 21, 2024
16e0b78
Define `USE_ESP32_BLE` (#6585)
edwardtfn Apr 22, 2024
927caf0
wifi: fix reconnect issue due to enablement of fast connect (#6598)
jpeletier Apr 22, 2024
50e3ce4
Calibrate Beken internal temperature (#6599)
Mat931 Apr 22, 2024
a9a9be3
Bump aioesphomeapi from 24.0.0 to 24.3.0 (#6602)
dependabot[bot] Apr 22, 2024
7c893aa
fix streaming logs from MQTT for ESP32 devices using TLS (#6605)
ccutrer Apr 22, 2024
c7bfd9b
Disallow variant/family override for known boards (#6512)
clydebarrow Apr 22, 2024
7510468
Add yamllint and clang-format to pre-commit hooks (#6578)
clydebarrow Apr 22, 2024
aee2a49
esp32_ble: Consider ESP_BT_STATUS_DONE a successful state (#6493)
polyfloyd Apr 22, 2024
0874440
Fix or filter (#6574)
swoboda1337 Apr 22, 2024
496b7f4
[Tuya Climate] Fix compilation error caused by codegen (#6568)
zry98 Apr 17, 2024
1a15216
wifi: fix reconnect issue due to enablement of fast connect (#6598)
jpeletier Apr 22, 2024
a29e634
Calibrate Beken internal temperature (#6599)
Mat931 Apr 22, 2024
dd8be52
fix streaming logs from MQTT for ESP32 devices using TLS (#6605)
ccutrer Apr 22, 2024
03d547d
Disallow variant/family override for known boards (#6512)
clydebarrow Apr 22, 2024
44d13f2
esp32_ble: Consider ESP_BT_STATUS_DONE a successful state (#6493)
polyfloyd Apr 22, 2024
3e64876
Fix or filter (#6574)
swoboda1337 Apr 22, 2024
7ae36b0
Bump version to 2024.4.1
jesserockz Apr 22, 2024
a7fb2ce
Use clang-format version from requirements_dev file (#6606)
jesserockz Apr 22, 2024
b737fe7
Fix SHT3xd fails sometimes in 2024.4.0 (#6592)
mrtoy-me Apr 22, 2024
fcd9e3c
Merge pull request #6607 from esphome/bump-2024.4.1
jesserockz Apr 22, 2024
8eeb28d
Merge branch 'release' into dev
jesserockz Apr 22, 2024
057f473
Add some components to the new testing framework (P) (#6213)
kbx81 Apr 23, 2024
2b215fe
Add some components to the new testing framework (M part 1) (#6207)
kbx81 Apr 23, 2024
c0dc9c2
Add some components to the new testing framework (M part 2) (#6208)
kbx81 Apr 23, 2024
6806cb2
Add some components to the new testing framework (O) (#6211)
kbx81 Apr 23, 2024
fa8d09a
[mopeka_std_check] Fix test file indentation (#6610)
jesserockz Apr 23, 2024
eb89d99
Add valve component (#6447)
kbx81 Apr 23, 2024
7e5b100
Add some components to the new testing framework (R) (#6219)
kbx81 Apr 23, 2024
8cb809d
[sn74hc595] Enforce type field to distinguish gpio vs spi mode (#6609)
jesserockz Apr 23, 2024
06d3829
allow defaults with no include vars (#6613)
ssieb Apr 23, 2024
b183970
[tests] Run yaml tests in groups if over 100 to run (#6612)
jesserockz Apr 23, 2024
18149bc
Add some components to the new testing framework (I) (#6185)
kbx81 Apr 23, 2024
ed381b4
Add some components to the new testing framework (T) (#6229)
kbx81 Apr 23, 2024
7e8ed5c
Add some components to the new testing framework (S part 1) (#6224)
kbx81 Apr 23, 2024
06829b5
Add some components to the new testing framework (S part 2) (#6227)
kbx81 Apr 23, 2024
8027921
`graphical_display_menu` requires a Display, not DisplayBuffer (#6614)
clydebarrow Apr 23, 2024
b8f0182
Add null GPIO pin (#6611)
clydebarrow Apr 23, 2024
f9ce35c
Allow UART to be AUTO LOADed (#6617)
jesserockz Apr 23, 2024
f8cdb08
Add the WeiKai SPI/I2C UART/IO Expander components to esphome (#5218)
DrCoolzic Apr 24, 2024
217988f
Sort mqtt_const alphabetically (#6619)
jesserockz Apr 24, 2024
b03d0f3
Limit Rx wait loop time to 3 seconds. (#6594)
descipher Apr 24, 2024
c531a52
Event entity support (#6451)
nohat Apr 24, 2024
1ac855f
Only check c/c++ files with clang-format (#6620)
jesserockz Apr 24, 2024
a7079f8
Added base64 helper (#4866)
freekode Apr 24, 2024
e2b0d56
Add Roomba IR protocol (#4595)
rforro Apr 24, 2024
1775c73
Fix issue when setting cw/ww brightness via temperature (#5976)
patagonaa Apr 24, 2024
41b1950
Add get/set color temperature functions in Kelvin (#5006)
danielkent-net Apr 24, 2024
bdc9c66
Move CONF_PLATFORM_VERSION to global const.py (#6629)
tomaszduda23 Apr 25, 2024
2fa5846
Ble client fixes for proxy (#6596)
elupus Apr 25, 2024
0662c5e
Fix for #6614- use background_color, improve anti-aliasing (#6618)
clydebarrow Apr 25, 2024
de2a92e
Fix graph hangs when y <= 0 (#6593)
chiahsing Apr 25, 2024
5288d5a
Feature add last_operation to time based cover (#6084)
xprofiler Apr 25, 2024
bcef64a
Add `event`, `text_sensor` and `valve` device classes to sync script …
kbx81 Apr 25, 2024
8ef7b41
Add datetime entities (#6513)
jesserockz Apr 25, 2024
8fcfccc
Multiple Daly-BMS support (#6615)
latonita Apr 25, 2024
3997503
Remove text_sensor from sync-device-class job (#6637)
kbx81 Apr 25, 2024
3ecb5fa
Synchronise Device Classes from Home Assistant (#6638)
esphomebot Apr 25, 2024
031e26a
Display: add diagnostic test_card option (#6608)
nielsnl68 Apr 26, 2024
cd91c70
waveshare_epaper: Add 2.90in-dke (#6492)
polyfloyd Apr 26, 2024
9bfb36f
Extract core comments from #6241 (#6643)
javawizard Apr 26, 2024
76c5599
Revert #6458 (#6650)
tronikos Apr 28, 2024
0ef7781
[hm3301] Updated the AQI based on the airnow document (#6004)
optimusprimespace Apr 28, 2024
a700ae4
Fix command line substitutions without any yaml substitutions (#6644)
jesserockz Apr 28, 2024
8334934
Allow platform dependencies (#6623)
kbx81 Apr 28, 2024
5142d29
[light] Add transition_length to strobe effect. (#6595)
lhartmann Apr 28, 2024
8b6a358
Fixed the issue that graph draws out of the boundary. (#6651)
chiahsing Apr 28, 2024
9ea442f
Fix upload command. MQTT user and password is missing from configurat…
dylan09 Apr 28, 2024
e7c1ddb
patch esphome cli to skip mqtt based device discovery if --device opt…
quigleymd Apr 28, 2024
80a0b5b
[i2s_audio.microphone] Fixing adc bug (#6654)
jesserockz Apr 29, 2024
c007593
Fix for #4866 - inconsistent arguments (#6639)
clydebarrow Apr 29, 2024
73bb4aa
[template/text] Fix lambda config (#6655)
asergunov Apr 29, 2024
47c2628
web_server: Add support for v3 local server_index (#6563)
pzich Apr 29, 2024
989a64b
Update webserver local assets to 20240429-211523 (#6657)
esphomebot Apr 29, 2024
05fbb26
[nextion] Exit reparse before update TFT (#6589)
edwardtfn Apr 29, 2024
33e9881
Fix SHT3xd fails sometimes in 2024.4.0 (#6592)
mrtoy-me Apr 22, 2024
5838af6
allow defaults with no include vars (#6613)
ssieb Apr 23, 2024
9832fa4
Revert #6458 (#6650)
tronikos Apr 28, 2024
4936cbe
[i2s_audio.microphone] Fixing adc bug (#6654)
jesserockz Apr 29, 2024
516971a
Bump version to 2024.4.2
jesserockz Apr 30, 2024
48fa549
Merge pull request #6660 from esphome/bump-2024.4.2
jesserockz Apr 30, 2024
74fd52e
[nextion] Set alternative TFT update baud rate (#6587)
edwardtfn Apr 30, 2024
6fe328e
[TM1637] Let turn off the display (#6656)
asergunov Apr 30, 2024
c299dff
[nextion] Use persistent http connection for TFT upload (Arduino) (#6…
edwardtfn Apr 30, 2024
c69cdec
Extend MQTT tests (#6648)
kbx81 May 1, 2024
5ddad26
Extend and consolidate `script` tests (#6663)
kbx81 May 1, 2024
a4a23d7
[nextion] Use persistent http connection for TFT upload (ESP-IDF) (#6…
edwardtfn May 1, 2024
539c369
Add a function to return the loop_interval (#6666)
tronikos May 2, 2024
1b9a30e
Remote receiver improvements (#4642)
Mat931 May 2, 2024
bc65e6e
Make fast update intervals in qmc5883l work (#6647)
tronikos May 2, 2024
c7c0d97
SPI and I2C for BMP390 and BMP380 (#6652)
latonita May 2, 2024
ccbf514
Set "CONF_" CI counter to fail on 3 or more definitions (#6668)
jesserockz May 5, 2024
f158420
[core] Rename ALWAYS_INLINE to ESPHOME_ALWAYS_INLINE (#6636)
tomaszduda23 May 5, 2024
8796a4c
print task name if logger is called from other than main thread (#6630)
tomaszduda23 May 5, 2024
f78397c
Fix recent definitions into `defines.h` (#6667)
edwardtfn May 5, 2024
833d31e
Add fast update to HMC5883L (#6669)
mkmer May 5, 2024
599dbf2
Minor tidy up of BME280 code (#6672)
latonita May 6, 2024
f2caaf8
External components: optional configurable path for git source (#6677)
twasilczyk May 6, 2024
d1758a4
Use clang-apply-replacements when clang-apply-replacements-14 does no…
Links2004 May 6, 2024
8463f89
fix conflict with EMPTY macro in zephyr (#6679)
tomaszduda23 May 6, 2024
594769b
Bump actions/checkout from 4.1.1 to 4.1.5 (#6685)
dependabot[bot] May 6, 2024
5ee2a5f
Fix Datetime-Datetime compiler error (#6686)
RFDarter May 6, 2024
7b0536f
Bump esphome/ESPAsyncWebServer-esphome to 3.2.0 (#6687)
jesserockz May 6, 2024
1e196ba
fix date_time validation (#6688)
RFDarter May 7, 2024
5edf497
proceed if AP mode is set up (#6631)
ssieb May 7, 2024
829bfbd
Migrate some constants to core code (#6692)
clydebarrow May 7, 2024
f6a3784
Consolidate test files where all tests are identical (#6690)
kbx81 May 7, 2024
b545d57
Make `pulse_meter` PULSE filter report the pulse as soon as it can (#…
TrentHouliston May 7, 2024
d9fca58
Update webserver local assets to 20240507-231331 (#6696)
esphomebot May 7, 2024
24aac10
Merge branch 'release' into dev
jesserockz May 8, 2024
bd8ccde
Bump version to 2024.5.0b1
jesserockz May 8, 2024
b7c6125
Bump version to 2024.6.0-dev
jesserockz May 8, 2024
e027c62
Merge pull request #6697 from esphome/bump-2024.5.0b1
jesserockz May 8, 2024
225beb3
Merge branch 'beta' into dev
jesserockz May 8, 2024
7764ab2
[github] Upgrade to actions/{upload,download}-artifact v4 (#6698)
jesserockz May 8, 2024
e48d024
[nextion] Replace flags to `USE_ARDUINO` (#6700)
edwardtfn May 8, 2024
487e171
[remote_receiver, remote_transmitter] Improve error messages on the E…
Mat931 May 8, 2024
7248100
[ethernet] Use constexpr instead of inline define for KSZ80XX_PC2R_RE…
jesserockz May 9, 2024
819be76
Add PHY register writes to enable external clock on Ethernet with RTL…
heythisisnate May 9, 2024
3ec4a66
Bump recommended ESP-IDF to 4.4.7 (#6703)
bdraco May 9, 2024
054587c
[github] Upgrade to actions/{upload,download}-artifact v4 (#6698)
jesserockz May 8, 2024
34585a6
[nextion] Replace flags to `USE_ARDUINO` (#6700)
edwardtfn May 8, 2024
879f404
[remote_receiver, remote_transmitter] Improve error messages on the E…
Mat931 May 8, 2024
2fbe80c
[ethernet] Use constexpr instead of inline define for KSZ80XX_PC2R_RE…
jesserockz May 9, 2024
ed1344e
Add PHY register writes to enable external clock on Ethernet with RTL…
heythisisnate May 9, 2024
98dc9fd
Bump recommended ESP-IDF to 4.4.7 (#6703)
bdraco May 9, 2024
0ca395e
Bump version to 2024.5.0b2
jesserockz May 9, 2024
d0120ce
Add IRK support to ble_rssi (#6422)
chbmuc May 9, 2024
afe8118
[core] Ensure that a generated ID name is distinct from its type. (#6…
clydebarrow May 9, 2024
5956beb
[color] Fix crash when hex color parses as int, improve error reporti…
clydebarrow May 9, 2024
0883f0e
Merge pull request #6708 from esphome/bump-2024.5.0b2
jesserockz May 9, 2024
ca03128
Merge branch 'beta' into dev
jesserockz May 9, 2024
78d1a50
[github] Fix digest artifact name (#6710)
jesserockz May 9, 2024
26048d1
[core] Ensure that a generated ID name is distinct from its type. (#6…
clydebarrow May 9, 2024
819bb9f
[color] Fix crash when hex color parses as int, improve error reporti…
clydebarrow May 9, 2024
bd776ba
[github] Fix digest artifact name (#6710)
jesserockz May 9, 2024
8ae8cd1
Bump version to 2024.5.0b3
jesserockz May 9, 2024
448b4f5
Merge pull request #6713 from esphome/bump-2024.5.0b3
jesserockz May 9, 2024
026c3a6
Merge branch 'beta' into dev
jesserockz May 9, 2024
8280772
Add new Error type to skip prepending path (#6716)
jesserockz May 9, 2024
ca5050d
[github] Only save platformio cache for dev branch (#6711)
jesserockz May 9, 2024
47a1710
Only cache docker images on dev branch (#6714)
jesserockz May 9, 2024
1a45858
Add pylint to git pre-commit hooks (#6726)
clydebarrow May 12, 2024
61b65e2
fix(ltr390): stuck ALS values when configured for ALS+UV readings (#6…
CodeInPolish May 12, 2024
67ca60e
separate debug component for each platform in different file (#6715)
tomaszduda23 May 12, 2024
13e3920
GDK101 support (#4703)
Szewcson May 13, 2024
dd81c83
Typing hint and doc fixes (#6729)
clydebarrow May 13, 2024
a23d163
time_based_cover.cpp with manual control fix (#6719)
Jorge-Crespo-Celdran May 13, 2024
5ee4bf3
Set FEATURE_API_AUDIO flag also if the speaker component is not used …
gnumpi May 13, 2024
9100795
[CST816] Add support for Hynitron Microelectronics CST826 capacitive …
lboue May 13, 2024
eae97db
Bump platformio from 6.1.13 to 6.1.15 (#6634)
dependabot[bot] May 13, 2024
47b4050
Fix ESPHOME_PROJECT_VERSION_30 (#6731)
jesserockz May 13, 2024
2ac0821
Bump pytest from 8.1.1 to 8.2.0 (#6732)
dependabot[bot] May 13, 2024
4ec2ef2
fix(ltr390): stuck ALS values when configured for ALS+UV readings (#6…
CodeInPolish May 12, 2024
694f751
Set FEATURE_API_AUDIO flag also if the speaker component is not used …
gnumpi May 13, 2024
ba3fc4c
Bump platformio from 6.1.13 to 6.1.15 (#6634)
dependabot[bot] May 13, 2024
5afe0e5
Fix ESPHOME_PROJECT_VERSION_30 (#6731)
jesserockz May 13, 2024
1e4d6ee
Bump version to 2024.5.0b4
jesserockz May 13, 2024
142c4a8
Merge pull request #6733 from esphome/bump-2024.5.0b4
jesserockz May 13, 2024
c94f638
Merge branch 'beta' into dev
jesserockz May 13, 2024
921e56f
Voice-Assistant: Start-order change for VAD disabled: start va-pipeli…
gnumpi May 14, 2024
036a666
[web_server] Minor python formatting (#6735)
jesserockz May 14, 2024
7d791cb
[esp32_ble] Fix compilation error on esp32c6 (#6734)
jesserockz May 14, 2024
636037c
[core] Fix minor formatting issues (#6738)
jesserockz May 14, 2024
d5eeab8
[config] Improve error reporting (#6736)
clydebarrow May 14, 2024
6f53607
Add ANNOUNCING state to media_player. (#6691)
gnumpi May 14, 2024
adcd2d0
Merge branch 'dev' into deep-sleep
Xmister May 14, 2024
cedf595
Remove asynctcp from mqtt
Xmister May 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 15 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
{
"name": "ESPHome Dev",
"image": "ghcr.io/esphome/esphome-lint:dev",
"postCreateCommand": [
"script/devcontainer-post-create"
],
"postCreateCommand": ["script/devcontainer-post-create"],
"containerEnv": {
"DEVCONTAINER": "1"
"DEVCONTAINER": "1",
"PIP_BREAK_SYSTEM_PACKAGES": "1",
"PIP_ROOT_USER_ACTION": "ignore"
},
"runArgs": [
"--privileged",
"-e",
"ESPHOME_DASHBOARD_USE_PING=1"
// uncomment and edit the path in order to pass though local USB serial to the conatiner
// , "--device=/dev/ttyACM0"
],
"appPort": 6052,
// if you are using avahi in the host device, uncomment these to allow the
// devcontainer to find devices via mdns
//"mounts": [
// "type=bind,source=/dev/bus/usb,target=/dev/bus/usb",
// "type=bind,source=/var/run/dbus,target=/var/run/dbus",
// "type=bind,source=/var/run/avahi-daemon/socket,target=/var/run/avahi-daemon/socket"
//],
"customizations": {
"vscode": {
"extensions": [
Expand All @@ -24,7 +33,7 @@
// cpp
"ms-vscode.cpptools",
// editorconfig
"editorconfig.editorconfig",
"editorconfig.editorconfig"
],
"settings": {
"python.languageServer": "Pylance",
Expand All @@ -41,6 +50,7 @@
"!secret scalar",
"!lambda scalar",
"!extend scalar",
"!remove scalar",
"!include_dir_named scalar",
"!include_dir_list scalar",
"!include_dir_merge_list scalar",
Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
- [ ] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
- [ ] BK72xx
- [ ] RTL87xx

## Example entry for `config.yaml`:
<!--
Expand Down
91 changes: 91 additions & 0 deletions .github/actions/build-image/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Build Image
inputs:
platform:
description: "Platform to build for"
required: true
example: "linux/amd64"
target:
description: "Target to build"
required: true
example: "docker"
baseimg:
description: "Base image type"
required: true
example: "docker"
suffix:
description: "Suffix to add to tags"
required: true
version:
description: "Version to build"
required: true
example: "2023.12.0"
runs:
using: "composite"
steps:
- name: Generate short tags
id: tags
shell: bash
run: |
output=$(docker/generate_tags.py \
--tag "${{ inputs.version }}" \
--suffix "${{ inputs.suffix }}")
echo $output
for l in $output; do
echo $l >> $GITHUB_OUTPUT
done

# set cache-to only if dev branch
- id: cache-to
shell: bash
run: |-
if [[ "${{ github.ref }}" == "refs/heads/dev" ]]; then
echo "value=type=gha,mode=max" >> $GITHUB_OUTPUT
else
echo "value=" >> $GITHUB_OUTPUT
fi

- name: Build and push to ghcr by digest
id: build-ghcr
uses: docker/[email protected]
with:
context: .
file: ./docker/Dockerfile
platforms: ${{ inputs.platform }}
target: ${{ inputs.target }}
cache-from: type=gha
cache-to: ${{ steps.cache-to.outputs.value }}
build-args: |
BASEIMGTYPE=${{ inputs.baseimg }}
BUILD_VERSION=${{ inputs.version }}
outputs: |
type=image,name=ghcr.io/${{ steps.tags.outputs.image_name }},push-by-digest=true,name-canonical=true,push=true

- name: Export ghcr digests
shell: bash
run: |
mkdir -p /tmp/digests/${{ inputs.target }}/ghcr
digest="${{ steps.build-ghcr.outputs.digest }}"
touch "/tmp/digests/${{ inputs.target }}/ghcr/${digest#sha256:}"

- name: Build and push to dockerhub by digest
id: build-dockerhub
uses: docker/[email protected]
with:
context: .
file: ./docker/Dockerfile
platforms: ${{ inputs.platform }}
target: ${{ inputs.target }}
cache-from: type=gha
cache-to: ${{ steps.cache-to.outputs.value }}
build-args: |
BASEIMGTYPE=${{ inputs.baseimg }}
BUILD_VERSION=${{ inputs.version }}
outputs: |
type=image,name=docker.io/${{ steps.tags.outputs.image_name }},push-by-digest=true,name-canonical=true,push=true

- name: Export dockerhub digests
shell: bash
run: |
mkdir -p /tmp/digests/${{ inputs.target }}/dockerhub
digest="${{ steps.build-dockerhub.outputs.digest }}"
touch "/tmp/digests/${{ inputs.target }}/dockerhub/${digest#sha256:}"
17 changes: 13 additions & 4 deletions .github/actions/restore-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,31 @@ runs:
steps:
- name: Set up Python ${{ inputs.python-version }}
id: python
uses: actions/setup-python@v4.6.0
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ inputs.python-version }}
- name: Restore Python virtual environment
id: cache-venv
uses: actions/cache/restore@v3.3.1
uses: actions/cache/restore@v4.0.2
with:
path: venv
# yamllint disable-line rule:line-length
key: ${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{ inputs.cache-key }}
- name: Create Python virtual environment
if: steps.cache-venv.outputs.cache-hit != 'true'
if: steps.cache-venv.outputs.cache-hit != 'true' && runner.os != 'Windows'
shell: bash
run: |
python -m venv venv
. venv/bin/activate
source venv/bin/activate
python --version
pip install -r requirements.txt -r requirements_optional.txt -r requirements_test.txt
pip install -e .
- name: Create Python virtual environment
if: steps.cache-venv.outputs.cache-hit != 'true' && runner.os == 'Windows'
shell: bash
run: |
python -m venv venv
./venv/Scripts/activate
python --version
pip install -r requirements.txt -r requirements_optional.txt -r requirements_test.txt
pip install -e .
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ updates:
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/.github/actions/build-image"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/.github/actions/restore-python"
schedule:
interval: daily
open-pull-requests-limit: 10
80 changes: 80 additions & 0 deletions .github/workflows/ci-api-proto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: API Proto CI

on:
pull_request:
paths:
- "esphome/components/api/api.proto"
- "esphome/components/api/api_pb2.cpp"
- "esphome/components/api/api_pb2.h"
- "esphome/components/api/api_pb2_service.cpp"
- "esphome/components/api/api_pb2_service.h"
- "script/api_protobuf/api_protobuf.py"
- ".github/workflows/ci-api-proto.yml"

permissions:
contents: read
pull-requests: write

jobs:
check:
name: Check generated files
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.11"

- name: Install apt dependencies
run: |
sudo apt update
sudo apt-cache show protobuf-compiler
sudo apt install -y protobuf-compiler
protoc --version
- name: Install python dependencies
run: pip install aioesphomeapi -c requirements.txt -r requirements_dev.txt
- name: Generate files
run: script/api_protobuf/api_protobuf.py
- name: Check for changes
run: |
if ! git diff --quiet; then
echo "## Job Failed" | tee -a $GITHUB_STEP_SUMMARY
echo "You have altered the generated proto files but they do not match what is expected." | tee -a $GITHUB_STEP_SUMMARY
echo "Please run 'script/api_protobuf/api_protobuf.py' and commit the changes." | tee -a $GITHUB_STEP_SUMMARY
exit 1
fi
- if: failure()
name: Review PR
uses: actions/[email protected]
with:
script: |
await github.rest.pulls.createReview({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
event: 'REQUEST_CHANGES',
body: 'You have altered the generated proto files but they do not match what is expected.\nPlease run "script/api_protobuf/api_protobuf.py" and commit the changes.'
})
- if: success()
name: Dismiss review
uses: actions/[email protected]
with:
script: |
let reviews = await github.rest.pulls.listReviews({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo
});
for (let review of reviews.data) {
if (review.user.login === 'github-actions[bot]' && review.state === 'CHANGES_REQUESTED') {
await github.rest.pulls.dismissReview({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
review_id: review.id,
message: 'Files now match the expected proto files.'
});
}
}
14 changes: 7 additions & 7 deletions .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
name: CI for docker images

# Only run when docker paths change
# yamllint disable-line rule:truthy

on:
push:
branches: [dev, beta, release]
paths:
- "docker/**"
- ".github/workflows/**"
- ".github/workflows/ci-docker.yml"
- "requirements*.txt"
- "platformio.ini"
- "script/platformio_install_deps.py"

pull_request:
paths:
- "docker/**"
- ".github/workflows/**"
- ".github/workflows/ci-docker.yml"
- "requirements*.txt"
- "platformio.ini"
- "script/platformio_install_deps.py"
Expand All @@ -40,15 +40,15 @@ jobs:
arch: [amd64, armv7, aarch64]
build_type: ["ha-addon", "docker", "lint"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.5
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5.1.0
with:
python-version: "3.9"
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3.3.0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3.0.0

- name: Set TAG
run: |
Expand Down
Loading