1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-01 08:18:16 +00:00

2968 Commits

Author SHA1 Message Date
Mark Dietzer
24a5325db3
Declare arch_get_cpu_cycle_count for esp8266 as IRAM () 2021-12-01 10:01:15 +01:00
Yuval Brik
1ec3140759
ESP32 Deep Sleep: correct level value ()
Upon registering for ESP32 deep sleep, DeepSleepComponent::begin_sleep
calculates the level value to wake up on.
As part of PR , the level was changed to be based on `inverted`
instead of `!inverted`:
Before:
1e8e471dec/esphome/components/deep_sleep/deep_sleep_component.cpp (L76)
After:
2b04152482/esphome/components/deep_sleep/deep_sleep_component.cpp (L80)

The level argument to `esp_sleep_enable_ext0_wakeup(pin, level)` [0]
should be 0 when the inverted property is true (low triggers wakeup),
and 1 when inverted property is false (high triggers wakeup).

Also revert the changes of .

[0]
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html#_CPPv428esp_sleep_enable_ext0_wakeup10gpio_num_ti
2021-12-01 09:38:58 +01:00
Oxan van Leeuwen
ca8db7696e
Don't enable namespace comment clang-tidy check twice () 2021-12-01 17:21:19 +13:00
Oxan van Leeuwen
c9190574a9
Fix CI check for Windows line endings () 2021-12-01 17:14:25 +13:00
Oxan van Leeuwen
bfeb0b3639
Add problem matcher for Python formatting errors () 2021-12-01 17:12:14 +13:00
Oxan van Leeuwen
cbc1334b8d
Fix compile warning in Tuya automations () 2021-12-01 17:11:21 +13:00
mechanarchy
08cbb97ec9
Allow Git credentials to be loaded from secrets () 2021-12-01 17:10:25 +13:00
Jesse Hills
5719cc1a24
Bump esphome-dashboard to 20211201.0 () 2021-12-01 16:54:30 +13:00
Jesse Hills
d9513e5ff2
Number mode () 2021-12-01 08:11:38 +13:00
puuu
b5a0e8b2c0
Implement unit_of_measurement for number component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-11-30 16:20:59 +01:00
Jesse Hills
b32b918936
Button device class () 2021-11-30 16:18:21 +01:00
dependabot[bot]
0f47ffd908
Bump aioesphomeapi from 10.2.0 to 10.6.0 () 2021-11-30 16:17:48 +01:00
Carlos Garcia Saura
cd018ad3a5
Burst read for BME280, to reduce spurious spikes () 2021-11-30 16:12:52 +01:00
Adrián Panella
24dfecb6f0
cse7766: add energy sensor () 2021-11-30 16:08:00 +01:00
Oxan van Leeuwen
ab027a6ae2
Fix too-broad matcher for custom CI script () 2021-11-30 09:35:52 +01:00
Keith Burzinski
556d071e7f
Fix 8266 SPI Clock Polarity Setting () 2021-11-30 19:30:45 +13:00
dentra
939fb313df
Tuya text_sensor and raw data usage () 2021-11-30 08:08:52 +13:00
Jesse Hills
b5639a6472
Add support for button entities () 2021-11-30 08:00:51 +13:00
definitio
f50e40e0b8
Fix custom mode_state_topic () 2021-11-29 18:09:09 +01:00
mechanarchy
6f07421911
Optionally show internal components on the web server ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2021-11-29 16:52:20 +01:00
Maurice Makaay
adf48246a9
Improve DSMR read timeout handling () 2021-11-29 16:40:53 +01:00
anatoly-savchenkov
cae283dc86
Fixed data type inside fast_random_8() routine () 2021-11-29 08:31:15 +13:00
Conclusio
7afcb0fb04
Add delay to improve stability () 2021-11-29 08:13:42 +13:00
Dave T
10f830c3ef
Correct bitmask for third color (blue) scaling. () 2021-11-29 08:12:40 +13:00
Carlos Garcia Saura
7a5c3aa7ed
Fix compilation error for WPA enterprise in ESP-IDF () 2021-11-29 08:06:53 +13:00
Oxan van Leeuwen
2b50406856
Fix parsing of multiple values in EZO sensor ()
Co-authored-by: Lydia Sevelt <LydiaSevelt@gmail.com>
2021-11-29 08:02:10 +13:00
Oxan van Leeuwen
10a2a7e0fc
Fix parsing numbers in Anova () 2021-11-29 08:00:29 +13:00
Oxan van Leeuwen
7a564b222d
Make clang-tidy suggest stdint.h int types () 2021-11-29 07:59:30 +13:00
Maurice Makaay
671d68bc2c
Add missing nvs_flash_init() to ESP32 preferences code ()
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
2021-11-26 21:25:58 +01:00
Oxan van Leeuwen
5946c37925
Fix usage of deprecated climate method in anova () 2021-11-26 09:16:39 +01:00
Martin
17a37b1de9
Modbus_controller: Add custom command. () 2021-11-26 12:48:52 +13:00
Adrián Panella
e7827a6997
total_daily_energy: allow to disable restore mode () 2021-11-25 22:35:36 +01:00
Jesse Hills
2347e043a9
Cancel previous workflows for PRs and branches () 2021-11-25 22:02:39 +01:00
Oxan van Leeuwen
00965fe19e
Consistently format errors in CI scripts () 2021-11-26 09:54:11 +13:00
Oxan van Leeuwen
9681dfb458
Correct constant for dynamic I2S bus in NeoPixelBus () 2021-11-26 09:37:27 +13:00
Oxan van Leeuwen
5e631bc6ba
Only match GCC warnings from ESPHome source files in CI () 2021-11-26 09:36:42 +13:00
Oxan van Leeuwen
b5f660398c
Add map filter for text sensors () 2021-11-26 09:35:33 +13:00
Oxan van Leeuwen
d50bdf619f
Cache virtualenv instead of pip cache between CI runs () 2021-11-26 09:29:10 +13:00
Oxan van Leeuwen
4e448b21ff
Drop obsolete comment from CI workflow file () 2021-11-26 09:27:53 +13:00
Oxan van Leeuwen
2a78c2970d
Fix CI cache key for test3.yaml compile () 2021-11-26 09:27:34 +13:00
Oxan van Leeuwen
3637be251e
Fix parsing numbers from null-terminated buffers () 2021-11-26 09:00:49 +13:00
dependabot[bot]
2aea27d272
Bump pylint from 2.11.1 to 2.12.1 () 2021-11-25 20:34:11 +01:00
Maurice Makaay
ceb9b1d1ff
Allow empty UART debug: option, logging in hex format by default ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Maurice Makaay <account-github@makaay.nl>
2021-11-25 11:51:56 +13:00
Martin
ccfa1e23f0
Add support for sdp8xx () 2021-11-25 11:28:19 +13:00
rsumner
290da8df2d
Fix LEDC resolution calculation on ESP32-C3/S2/S3 ()
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-11-25 11:22:51 +13:00
Martin
4b1d73791d
remove LEDC_HIGH_SPEED_MODE for C3, S2, S3 () 2021-11-25 08:06:08 +13:00
Jesse Hills
7e8012c1a0
Allow specifying the dashboard bind address () 2021-11-25 07:59:32 +13:00
Maurice Makaay
15cd602e8b
Add support for P1 Data Request pin control () 2021-11-23 09:34:10 +01:00
krunkel
598f5b241f
Remove unnecessary write in AHT10 update () 2021-11-23 09:26:16 +01:00
dependabot[bot]
335e69e6cd
Bump black from 21.10b0 to 21.11b1 () 2021-11-23 09:24:28 +01:00