mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 06:43:48 +01:00
Merge branch 'partial_revert_10862' into integration
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -391,7 +391,7 @@ jobs:
|
|||||||
./script/test_build_components -e compile -c ${{ matrix.file }}
|
./script/test_build_components -e compile -c ${{ matrix.file }}
|
||||||
|
|
||||||
test-build-components-splitter:
|
test-build-components-splitter:
|
||||||
name: Split components for testing into 14 components per group
|
name: Split components for testing into 10 components per group
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
needs:
|
needs:
|
||||||
- common
|
- common
|
||||||
@@ -402,10 +402,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Check out code from GitHub
|
- name: Check out code from GitHub
|
||||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
- name: Split components into groups of 14
|
- name: Split components into groups of 10
|
||||||
id: split
|
id: split
|
||||||
run: |
|
run: |
|
||||||
components=$(echo '${{ needs.determine-jobs.outputs.changed-components }}' | jq -c '.[]' | shuf | jq -s -c '[_nwise(14) | join(" ")]')
|
components=$(echo '${{ needs.determine-jobs.outputs.changed-components }}' | jq -c '.[]' | shuf | jq -s -c '[_nwise(10) | join(" ")]')
|
||||||
echo "components=$components" >> $GITHUB_OUTPUT
|
echo "components=$components" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
test-build-components-split:
|
test-build-components-split:
|
||||||
|
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@@ -58,7 +58,7 @@ jobs:
|
|||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
|
uses: github/codeql-action/init@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
build-mode: ${{ matrix.build-mode }}
|
build-mode: ${{ matrix.build-mode }}
|
||||||
@@ -86,6 +86,6 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4.30.7
|
uses: github/codeql-action/analyze@f443b600d91635bebf5b0d9ebc620189c0d6fba5 # v4.30.8
|
||||||
with:
|
with:
|
||||||
category: "/language:${{matrix.language}}"
|
category: "/language:${{matrix.language}}"
|
||||||
|
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
debug-only: ${{ github.ref != 'refs/heads/dev' }} # Dry-run when not run on dev branch
|
debug-only: ${{ github.ref != 'refs/heads/dev' }} # Dry-run when not run on dev branch
|
||||||
remove-stale-when-updated: true
|
remove-stale-when-updated: true
|
||||||
operations-per-run: 150
|
operations-per-run: 400
|
||||||
|
|
||||||
# The 90 day stale policy for PRs
|
# The 90 day stale policy for PRs
|
||||||
# - PRs
|
# - PRs
|
||||||
|
@@ -105,9 +105,9 @@ class Canbus : public Component {
|
|||||||
CallbackManager<void(uint32_t can_id, bool extended_id, bool rtr, const std::vector<uint8_t> &data)>
|
CallbackManager<void(uint32_t can_id, bool extended_id, bool rtr, const std::vector<uint8_t> &data)>
|
||||||
callback_manager_{};
|
callback_manager_{};
|
||||||
|
|
||||||
virtual bool setup_internal();
|
virtual bool setup_internal() = 0;
|
||||||
virtual Error send_message(struct CanFrame *frame);
|
virtual Error send_message(struct CanFrame *frame) = 0;
|
||||||
virtual Error read_message(struct CanFrame *frame);
|
virtual Error read_message(struct CanFrame *frame) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename... Ts> class CanbusSendAction : public Action<Ts...>, public Parented<Canbus> {
|
template<typename... Ts> class CanbusSendAction : public Action<Ts...>, public Parented<Canbus> {
|
||||||
|
@@ -304,6 +304,17 @@ def _format_framework_espidf_version(ver: cv.Version, release: str) -> str:
|
|||||||
return f"pioarduino/framework-espidf@https://github.com/pioarduino/esp-idf/releases/download/v{str(ver)}/esp-idf-v{str(ver)}.zip"
|
return f"pioarduino/framework-espidf@https://github.com/pioarduino/esp-idf/releases/download/v{str(ver)}/esp-idf-v{str(ver)}.zip"
|
||||||
|
|
||||||
|
|
||||||
|
def _is_framework_url(source: str) -> str:
|
||||||
|
# platformio accepts many URL schemes for framework repositories and archives including http, https, git, file, and symlink
|
||||||
|
import urllib.parse
|
||||||
|
|
||||||
|
try:
|
||||||
|
parsed = urllib.parse.urlparse(source)
|
||||||
|
except ValueError:
|
||||||
|
return False
|
||||||
|
return bool(parsed.scheme)
|
||||||
|
|
||||||
|
|
||||||
# NOTE: Keep this in mind when updating the recommended version:
|
# NOTE: Keep this in mind when updating the recommended version:
|
||||||
# * New framework historically have had some regressions, especially for WiFi.
|
# * New framework historically have had some regressions, especially for WiFi.
|
||||||
# The new version needs to be thoroughly validated before changing the
|
# The new version needs to be thoroughly validated before changing the
|
||||||
@@ -318,7 +329,8 @@ ARDUINO_FRAMEWORK_VERSION_LOOKUP = {
|
|||||||
"dev": cv.Version(3, 3, 1),
|
"dev": cv.Version(3, 3, 1),
|
||||||
}
|
}
|
||||||
ARDUINO_PLATFORM_VERSION_LOOKUP = {
|
ARDUINO_PLATFORM_VERSION_LOOKUP = {
|
||||||
cv.Version(3, 3, 1): cv.Version(55, 3, 31),
|
cv.Version(3, 3, 2): cv.Version(55, 3, 31, "1"),
|
||||||
|
cv.Version(3, 3, 1): cv.Version(55, 3, 31, "1"),
|
||||||
cv.Version(3, 3, 0): cv.Version(55, 3, 30, "2"),
|
cv.Version(3, 3, 0): cv.Version(55, 3, 30, "2"),
|
||||||
cv.Version(3, 2, 1): cv.Version(54, 3, 21, "2"),
|
cv.Version(3, 2, 1): cv.Version(54, 3, 21, "2"),
|
||||||
cv.Version(3, 2, 0): cv.Version(54, 3, 20),
|
cv.Version(3, 2, 0): cv.Version(54, 3, 20),
|
||||||
@@ -336,8 +348,8 @@ ESP_IDF_FRAMEWORK_VERSION_LOOKUP = {
|
|||||||
"dev": cv.Version(5, 5, 1),
|
"dev": cv.Version(5, 5, 1),
|
||||||
}
|
}
|
||||||
ESP_IDF_PLATFORM_VERSION_LOOKUP = {
|
ESP_IDF_PLATFORM_VERSION_LOOKUP = {
|
||||||
cv.Version(5, 5, 1): cv.Version(55, 3, 31),
|
cv.Version(5, 5, 1): cv.Version(55, 3, 31, "1"),
|
||||||
cv.Version(5, 5, 0): cv.Version(55, 3, 31),
|
cv.Version(5, 5, 0): cv.Version(55, 3, 31, "1"),
|
||||||
cv.Version(5, 4, 2): cv.Version(54, 3, 21, "2"),
|
cv.Version(5, 4, 2): cv.Version(54, 3, 21, "2"),
|
||||||
cv.Version(5, 4, 1): cv.Version(54, 3, 21, "2"),
|
cv.Version(5, 4, 1): cv.Version(54, 3, 21, "2"),
|
||||||
cv.Version(5, 4, 0): cv.Version(54, 3, 21, "2"),
|
cv.Version(5, 4, 0): cv.Version(54, 3, 21, "2"),
|
||||||
@@ -352,8 +364,8 @@ ESP_IDF_PLATFORM_VERSION_LOOKUP = {
|
|||||||
# - https://github.com/pioarduino/platform-espressif32/releases
|
# - https://github.com/pioarduino/platform-espressif32/releases
|
||||||
PLATFORM_VERSION_LOOKUP = {
|
PLATFORM_VERSION_LOOKUP = {
|
||||||
"recommended": cv.Version(54, 3, 21, "2"),
|
"recommended": cv.Version(54, 3, 21, "2"),
|
||||||
"latest": cv.Version(55, 3, 31),
|
"latest": cv.Version(55, 3, 31, "1"),
|
||||||
"dev": "https://github.com/pioarduino/platform-espressif32.git#develop",
|
"dev": cv.Version(55, 3, 31, "1"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -386,7 +398,7 @@ def _check_versions(value):
|
|||||||
value[CONF_SOURCE] = value.get(
|
value[CONF_SOURCE] = value.get(
|
||||||
CONF_SOURCE, _format_framework_arduino_version(version)
|
CONF_SOURCE, _format_framework_arduino_version(version)
|
||||||
)
|
)
|
||||||
if value[CONF_SOURCE].startswith("http"):
|
if _is_framework_url(value[CONF_SOURCE]):
|
||||||
value[CONF_SOURCE] = (
|
value[CONF_SOURCE] = (
|
||||||
f"pioarduino/framework-arduinoespressif32@{value[CONF_SOURCE]}"
|
f"pioarduino/framework-arduinoespressif32@{value[CONF_SOURCE]}"
|
||||||
)
|
)
|
||||||
@@ -399,7 +411,7 @@ def _check_versions(value):
|
|||||||
CONF_SOURCE,
|
CONF_SOURCE,
|
||||||
_format_framework_espidf_version(version, value.get(CONF_RELEASE, None)),
|
_format_framework_espidf_version(version, value.get(CONF_RELEASE, None)),
|
||||||
)
|
)
|
||||||
if value[CONF_SOURCE].startswith("http"):
|
if _is_framework_url(value[CONF_SOURCE]):
|
||||||
value[CONF_SOURCE] = f"pioarduino/framework-espidf@{value[CONF_SOURCE]}"
|
value[CONF_SOURCE] = f"pioarduino/framework-espidf@{value[CONF_SOURCE]}"
|
||||||
|
|
||||||
if CONF_PLATFORM_VERSION not in value:
|
if CONF_PLATFORM_VERSION not in value:
|
||||||
@@ -645,6 +657,7 @@ def _show_framework_migration_message(name: str, variant: str) -> None:
|
|||||||
+ "Why change? ESP-IDF offers:\n"
|
+ "Why change? ESP-IDF offers:\n"
|
||||||
+ color(AnsiFore.GREEN, " ✨ Up to 40% smaller binaries\n")
|
+ color(AnsiFore.GREEN, " ✨ Up to 40% smaller binaries\n")
|
||||||
+ color(AnsiFore.GREEN, " 🚀 Better performance and optimization\n")
|
+ color(AnsiFore.GREEN, " 🚀 Better performance and optimization\n")
|
||||||
|
+ color(AnsiFore.GREEN, " ⚡ 2-3x faster compile times\n")
|
||||||
+ color(AnsiFore.GREEN, " 📦 Custom-built firmware for your exact needs\n")
|
+ color(AnsiFore.GREEN, " 📦 Custom-built firmware for your exact needs\n")
|
||||||
+ color(
|
+ color(
|
||||||
AnsiFore.GREEN,
|
AnsiFore.GREEN,
|
||||||
@@ -652,7 +665,6 @@ def _show_framework_migration_message(name: str, variant: str) -> None:
|
|||||||
)
|
)
|
||||||
+ "\n"
|
+ "\n"
|
||||||
+ "Trade-offs:\n"
|
+ "Trade-offs:\n"
|
||||||
+ color(AnsiFore.YELLOW, " ⏱️ Compile times are ~25% longer\n")
|
|
||||||
+ color(AnsiFore.YELLOW, " 🔄 Some components need migration\n")
|
+ color(AnsiFore.YELLOW, " 🔄 Some components need migration\n")
|
||||||
+ "\n"
|
+ "\n"
|
||||||
+ "What should I do?\n"
|
+ "What should I do?\n"
|
||||||
|
@@ -332,12 +332,16 @@ def final_validation(config):
|
|||||||
|
|
||||||
# Check if BLE Server is needed
|
# Check if BLE Server is needed
|
||||||
has_ble_server = "esp32_ble_server" in full_config
|
has_ble_server = "esp32_ble_server" in full_config
|
||||||
add_idf_sdkconfig_option("CONFIG_BT_GATTS_ENABLE", has_ble_server)
|
|
||||||
|
|
||||||
# Check if BLE Client is needed (via esp32_ble_tracker or esp32_ble_client)
|
# Check if BLE Client is needed (via esp32_ble_tracker or esp32_ble_client)
|
||||||
has_ble_client = (
|
has_ble_client = (
|
||||||
"esp32_ble_tracker" in full_config or "esp32_ble_client" in full_config
|
"esp32_ble_tracker" in full_config or "esp32_ble_client" in full_config
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# ESP-IDF BLE stack requires GATT Server to be enabled when GATT Client is enabled
|
||||||
|
# This is an internal dependency in the Bluedroid stack (tested ESP-IDF 5.4.2-5.5.1)
|
||||||
|
# See: https://github.com/espressif/esp-idf/issues/17724
|
||||||
|
add_idf_sdkconfig_option("CONFIG_BT_GATTS_ENABLE", has_ble_server or has_ble_client)
|
||||||
add_idf_sdkconfig_option("CONFIG_BT_GATTC_ENABLE", has_ble_client)
|
add_idf_sdkconfig_option("CONFIG_BT_GATTC_ENABLE", has_ble_client)
|
||||||
|
|
||||||
# Handle max_connections: check for deprecated location in esp32_ble_tracker
|
# Handle max_connections: check for deprecated location in esp32_ble_tracker
|
||||||
|
@@ -15,10 +15,6 @@
|
|||||||
#include "esphome/core/hal.h"
|
#include "esphome/core/hal.h"
|
||||||
#include "esphome/core/helpers.h"
|
#include "esphome/core/helpers.h"
|
||||||
|
|
||||||
#ifdef USE_ARDUINO
|
|
||||||
#include <esp32-hal-bt.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace esp32_ble_beacon {
|
namespace esp32_ble_beacon {
|
||||||
|
|
||||||
|
@@ -25,10 +25,6 @@
|
|||||||
#include <esp_coexist.h>
|
#include <esp_coexist.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ARDUINO
|
|
||||||
#include <esp32-hal-bt.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MBEDTLS_AES_ALT
|
#define MBEDTLS_AES_ALT
|
||||||
#include <aes_alt.h>
|
#include <aes_alt.h>
|
||||||
|
|
||||||
|
@@ -8,6 +8,13 @@ namespace json {
|
|||||||
|
|
||||||
static const char *const TAG = "json";
|
static const char *const TAG = "json";
|
||||||
|
|
||||||
|
#ifdef USE_PSRAM
|
||||||
|
// Global allocator that outlives all JsonDocuments returned by parse_json()
|
||||||
|
// This prevents dangling pointer issues when JsonDocuments are returned from functions
|
||||||
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) - Must be mutable for ArduinoJson::Allocator
|
||||||
|
static SpiRamAllocator global_json_allocator;
|
||||||
|
#endif
|
||||||
|
|
||||||
std::string build_json(const json_build_t &f) {
|
std::string build_json(const json_build_t &f) {
|
||||||
// NOLINTBEGIN(clang-analyzer-cplusplus.NewDeleteLeaks) false positive with ArduinoJson
|
// NOLINTBEGIN(clang-analyzer-cplusplus.NewDeleteLeaks) false positive with ArduinoJson
|
||||||
JsonBuilder builder;
|
JsonBuilder builder;
|
||||||
@@ -33,8 +40,7 @@ JsonDocument parse_json(const uint8_t *data, size_t len) {
|
|||||||
return JsonObject(); // return unbound object
|
return JsonObject(); // return unbound object
|
||||||
}
|
}
|
||||||
#ifdef USE_PSRAM
|
#ifdef USE_PSRAM
|
||||||
auto doc_allocator = SpiRamAllocator();
|
JsonDocument json_document(&global_json_allocator);
|
||||||
JsonDocument json_document(&doc_allocator);
|
|
||||||
#else
|
#else
|
||||||
JsonDocument json_document;
|
JsonDocument json_document;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -21,11 +21,11 @@ template<uint8_t N> class MCP23XXXBase : public Component, public gpio_expander:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
// read a given register
|
// read a given register
|
||||||
virtual bool read_reg(uint8_t reg, uint8_t *value);
|
virtual bool read_reg(uint8_t reg, uint8_t *value) = 0;
|
||||||
// write a value to a given register
|
// write a value to a given register
|
||||||
virtual bool write_reg(uint8_t reg, uint8_t value);
|
virtual bool write_reg(uint8_t reg, uint8_t value) = 0;
|
||||||
// update registers with given pin value.
|
// update registers with given pin value.
|
||||||
virtual void update_reg(uint8_t pin, bool pin_value, uint8_t reg_a);
|
virtual void update_reg(uint8_t pin, bool pin_value, uint8_t reg_a) = 0;
|
||||||
|
|
||||||
bool open_drain_ints_;
|
bool open_drain_ints_;
|
||||||
};
|
};
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#include "opentherm.h"
|
#include "opentherm.h"
|
||||||
#include "esphome/core/helpers.h"
|
#include "esphome/core/helpers.h"
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
#include "driver/timer.h"
|
#include "driver/timer.h"
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -31,7 +31,7 @@ OpenTherm *OpenTherm::instance = nullptr;
|
|||||||
OpenTherm::OpenTherm(InternalGPIOPin *in_pin, InternalGPIOPin *out_pin, int32_t device_timeout)
|
OpenTherm::OpenTherm(InternalGPIOPin *in_pin, InternalGPIOPin *out_pin, int32_t device_timeout)
|
||||||
: in_pin_(in_pin),
|
: in_pin_(in_pin),
|
||||||
out_pin_(out_pin),
|
out_pin_(out_pin),
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
timer_group_(TIMER_GROUP_0),
|
timer_group_(TIMER_GROUP_0),
|
||||||
timer_idx_(TIMER_0),
|
timer_idx_(TIMER_0),
|
||||||
#endif
|
#endif
|
||||||
@@ -57,7 +57,7 @@ bool OpenTherm::initialize() {
|
|||||||
this->out_pin_->setup();
|
this->out_pin_->setup();
|
||||||
this->out_pin_->digital_write(true);
|
this->out_pin_->digital_write(true);
|
||||||
|
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
return this->init_esp32_timer_();
|
return this->init_esp32_timer_();
|
||||||
#else
|
#else
|
||||||
return true;
|
return true;
|
||||||
@@ -238,7 +238,7 @@ void IRAM_ATTR OpenTherm::write_bit_(uint8_t high, uint8_t clock) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
|
|
||||||
bool OpenTherm::init_esp32_timer_() {
|
bool OpenTherm::init_esp32_timer_() {
|
||||||
// Search for a free timer. Maybe unstable, we'll see.
|
// Search for a free timer. Maybe unstable, we'll see.
|
||||||
@@ -365,7 +365,7 @@ void IRAM_ATTR OpenTherm::stop_timer_() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // END ESP32
|
#endif // USE_ESP32
|
||||||
|
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
// 5 kHz timer_
|
// 5 kHz timer_
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#include "esphome/core/helpers.h"
|
#include "esphome/core/helpers.h"
|
||||||
#include "esphome/core/log.h"
|
#include "esphome/core/log.h"
|
||||||
|
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
#include "driver/timer.h"
|
#include "driver/timer.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -356,7 +356,7 @@ class OpenTherm {
|
|||||||
ISRInternalGPIOPin isr_in_pin_;
|
ISRInternalGPIOPin isr_in_pin_;
|
||||||
ISRInternalGPIOPin isr_out_pin_;
|
ISRInternalGPIOPin isr_out_pin_;
|
||||||
|
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
timer_group_t timer_group_;
|
timer_group_t timer_group_;
|
||||||
timer_idx_t timer_idx_;
|
timer_idx_t timer_idx_;
|
||||||
#endif
|
#endif
|
||||||
@@ -370,7 +370,7 @@ class OpenTherm {
|
|||||||
int32_t timeout_counter_; // <0 no timeout
|
int32_t timeout_counter_; // <0 no timeout
|
||||||
int32_t device_timeout_;
|
int32_t device_timeout_;
|
||||||
|
|
||||||
#if defined(ESP32) || defined(USE_ESP_IDF)
|
#ifdef USE_ESP32
|
||||||
esp_err_t timer_error_ = ESP_OK;
|
esp_err_t timer_error_ = ESP_OK;
|
||||||
TimerErrorType timer_error_type_ = TimerErrorType::NO_TIMER_ERROR;
|
TimerErrorType timer_error_type_ = TimerErrorType::NO_TIMER_ERROR;
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@ pyserial==3.5
|
|||||||
platformio==6.1.18 # When updating platformio, also update /docker/Dockerfile
|
platformio==6.1.18 # When updating platformio, also update /docker/Dockerfile
|
||||||
esptool==5.1.0
|
esptool==5.1.0
|
||||||
click==8.1.7
|
click==8.1.7
|
||||||
esphome-dashboard==20250904.0
|
esphome-dashboard==20251009.0
|
||||||
aioesphomeapi==41.13.0
|
aioesphomeapi==41.13.0
|
||||||
zeroconf==0.148.0
|
zeroconf==0.148.0
|
||||||
puremagic==1.30
|
puremagic==1.30
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
pylint==3.3.9
|
pylint==3.3.9
|
||||||
flake8==7.3.0 # also change in .pre-commit-config.yaml when updating
|
flake8==7.3.0 # also change in .pre-commit-config.yaml when updating
|
||||||
ruff==0.14.0 # also change in .pre-commit-config.yaml when updating
|
ruff==0.14.0 # also change in .pre-commit-config.yaml when updating
|
||||||
pyupgrade==3.20.0 # also change in .pre-commit-config.yaml when updating
|
pyupgrade==3.21.0 # also change in .pre-commit-config.yaml when updating
|
||||||
pre-commit
|
pre-commit
|
||||||
|
|
||||||
# Unit tests
|
# Unit tests
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
tx_pin: GPIO17
|
|
||||||
rx_pin: GPIO16
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
tx_pin: GPIO4
|
|
||||||
rx_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
tx_pin: GPIO17
|
|
||||||
rx_pin: GPIO16
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
tx_pin: GPIO4
|
|
||||||
rx_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
step_pin: GPIO22
|
|
||||||
dir_pin: GPIO23
|
|
||||||
sleep_pin: GPIO25
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
step_pin: GPIO2
|
|
||||||
dir_pin: GPIO3
|
|
||||||
sleep_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
gate_pin: GPIO5
|
|
||||||
zero_cross_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
packages:
|
|
||||||
base: !include common.yaml
|
|
||||||
|
|
||||||
sensor:
|
|
||||||
- id: !extend my_sensor
|
|
||||||
pin: A0
|
|
@@ -1,6 +0,0 @@
|
|||||||
packages:
|
|
||||||
base: !include common.yaml
|
|
||||||
|
|
||||||
sensor:
|
|
||||||
- id: !extend my_sensor
|
|
||||||
pin: 4
|
|
@@ -1,6 +0,0 @@
|
|||||||
packages:
|
|
||||||
base: !include common.yaml
|
|
||||||
|
|
||||||
sensor:
|
|
||||||
- id: !extend my_sensor
|
|
||||||
pin: 1
|
|
@@ -1,6 +0,0 @@
|
|||||||
packages:
|
|
||||||
base: !include common.yaml
|
|
||||||
|
|
||||||
sensor:
|
|
||||||
- id: !extend my_sensor
|
|
||||||
pin: 1
|
|
@@ -1,7 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO16
|
|
||||||
mosi_pin: GPIO17
|
|
||||||
miso_pin: GPIO15
|
|
||||||
cs_pin: GPIO12
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,7 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO6
|
|
||||||
mosi_pin: GPIO7
|
|
||||||
miso_pin: GPIO5
|
|
||||||
cs_pin: GPIO2
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,4 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
pin: GPIO2
|
|
||||||
|
|
||||||
<<: !include common-ard-esp32_rmt_led_strip.yaml
|
|
@@ -1,4 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
pin: GPIO2
|
|
||||||
|
|
||||||
<<: !include common-ard-esp32_rmt_led_strip.yaml
|
|
@@ -1,4 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
pin: GPIO2
|
|
||||||
|
|
||||||
<<: !include common-ard-fastled.yaml
|
|
@@ -1,8 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
irq0_pin: GPIO13
|
|
||||||
irq1_pin: GPIO15
|
|
||||||
reset_pin: GPIO16
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,8 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
irq0_pin: GPIO6
|
|
||||||
irq1_pin: GPIO7
|
|
||||||
reset_pin: GPIO10
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
irq_pin: GPIO15
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
irq_pin: GPIO6
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,8 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO16
|
|
||||||
mosi_pin: GPIO17
|
|
||||||
miso_pin: GPIO15
|
|
||||||
irq_pin: GPIO13
|
|
||||||
cs_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,8 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO6
|
|
||||||
mosi_pin: GPIO7
|
|
||||||
miso_pin: GPIO5
|
|
||||||
irq_pin: GPIO9
|
|
||||||
cs_pin: GPIO8
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,17 +0,0 @@
|
|||||||
spi:
|
|
||||||
- id: spi_main_lcd
|
|
||||||
clk_pin: 16
|
|
||||||
mosi_pin: 17
|
|
||||||
miso_pin: 15
|
|
||||||
|
|
||||||
display:
|
|
||||||
- platform: ili9xxx
|
|
||||||
id: main_lcd
|
|
||||||
model: ili9342
|
|
||||||
cs_pin: 12
|
|
||||||
dc_pin: 13
|
|
||||||
reset_pin: 21
|
|
||||||
invert_colors: false
|
|
||||||
|
|
||||||
packages:
|
|
||||||
animation: !include common.yaml
|
|
@@ -1,17 +0,0 @@
|
|||||||
spi:
|
|
||||||
- id: spi_main_lcd
|
|
||||||
clk_pin: 6
|
|
||||||
mosi_pin: 7
|
|
||||||
miso_pin: 5
|
|
||||||
|
|
||||||
display:
|
|
||||||
- platform: ili9xxx
|
|
||||||
id: main_lcd
|
|
||||||
model: ili9342
|
|
||||||
cs_pin: 8
|
|
||||||
dc_pin: 9
|
|
||||||
reset_pin: 10
|
|
||||||
invert_colors: false
|
|
||||||
|
|
||||||
packages:
|
|
||||||
animation: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO22
|
|
||||||
sda_pin: GPIO21
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
||||||
|
|
||||||
wifi:
|
|
||||||
ssid: MySSID
|
|
||||||
password: password1
|
|
@@ -1,5 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
||||||
|
|
||||||
wifi:
|
|
||||||
ssid: MySSID
|
|
||||||
password: password1
|
|
@@ -1,11 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
irq_pin: GPIO15
|
|
||||||
|
|
||||||
packages:
|
|
||||||
as3935: !include common.yaml
|
|
||||||
|
|
||||||
# Trigger issue: https://github.com/esphome/issues/issues/6990
|
|
||||||
# Compile with no binary sensor results in error
|
|
||||||
binary_sensor: !remove
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
irq_pin: GPIO6
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,8 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO16
|
|
||||||
mosi_pin: GPIO17
|
|
||||||
miso_pin: GPIO15
|
|
||||||
irq_pin: GPIO13
|
|
||||||
cs_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,8 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO6
|
|
||||||
mosi_pin: GPIO7
|
|
||||||
miso_pin: GPIO5
|
|
||||||
irq_pin: GPIO9
|
|
||||||
cs_pin: GPIO8
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
dir_pin: GPIO15
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,6 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
dir_pin: GPIO6
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO16
|
|
||||||
sda_pin: GPIO17
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,7 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO16
|
|
||||||
mosi_pin: GPIO17
|
|
||||||
miso_pin: GPIO15
|
|
||||||
cs_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,7 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO6
|
|
||||||
mosi_pin: GPIO7
|
|
||||||
miso_pin: GPIO5
|
|
||||||
cs_pin: GPIO8
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,7 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO16
|
|
||||||
mosi_pin: GPIO17
|
|
||||||
miso_pin: GPIO15
|
|
||||||
cs_pin: GPIO5
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,7 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
clk_pin: GPIO6
|
|
||||||
mosi_pin: GPIO7
|
|
||||||
miso_pin: GPIO5
|
|
||||||
cs_pin: GPIO8
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,4 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
pin: GPIO2
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO22
|
|
||||||
sda_pin: GPIO21
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
scl_pin: GPIO5
|
|
||||||
sda_pin: GPIO4
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,2 +0,0 @@
|
|||||||
packages:
|
|
||||||
common: !include common.yaml
|
|
@@ -1,2 +0,0 @@
|
|||||||
packages:
|
|
||||||
common: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1 +0,0 @@
|
|||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
tx_pin: GPIO12
|
|
||||||
rx_pin: GPIO14
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
@@ -1,5 +0,0 @@
|
|||||||
substitutions:
|
|
||||||
tx_pin: GPIO7
|
|
||||||
rx_pin: GPIO8
|
|
||||||
|
|
||||||
<<: !include common.yaml
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user