esphome 2025.10.2__py3-none-any.whl → 2025.10.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of esphome might be problematic. Click here for more details.
- esphome/components/hdc1080/hdc1080.cpp +2 -1
- esphome/components/uart/uart_component_esp8266.cpp +7 -0
- esphome/components/uart/uart_component_esp_idf.cpp +10 -0
- esphome/components/uart/uart_component_libretiny.cpp +7 -0
- esphome/components/uart/uart_component_rp2040.cpp +7 -0
- esphome/const.py +1 -1
- esphome/helpers.py +15 -14
- {esphome-2025.10.2.dist-info → esphome-2025.10.3.dist-info}/METADATA +1 -1
- {esphome-2025.10.2.dist-info → esphome-2025.10.3.dist-info}/RECORD +13 -13
- {esphome-2025.10.2.dist-info → esphome-2025.10.3.dist-info}/WHEEL +0 -0
- {esphome-2025.10.2.dist-info → esphome-2025.10.3.dist-info}/entry_points.txt +0 -0
- {esphome-2025.10.2.dist-info → esphome-2025.10.3.dist-info}/licenses/LICENSE +0 -0
- {esphome-2025.10.2.dist-info → esphome-2025.10.3.dist-info}/top_level.txt +0 -0
|
@@ -16,7 +16,8 @@ void HDC1080Component::setup() {
|
|
|
16
16
|
|
|
17
17
|
// if configuration fails - there is a problem
|
|
18
18
|
if (this->write_register(HDC1080_CMD_CONFIGURATION, config, 2) != i2c::ERROR_OK) {
|
|
19
|
-
|
|
19
|
+
ESP_LOGW(TAG, "Failed to configure HDC1080");
|
|
20
|
+
this->status_set_warning();
|
|
20
21
|
return;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
@@ -56,6 +56,13 @@ uint32_t ESP8266UartComponent::get_config() {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
void ESP8266UartComponent::setup() {
|
|
59
|
+
if (this->rx_pin_) {
|
|
60
|
+
this->rx_pin_->setup();
|
|
61
|
+
}
|
|
62
|
+
if (this->tx_pin_ && this->rx_pin_ != this->tx_pin_) {
|
|
63
|
+
this->tx_pin_->setup();
|
|
64
|
+
}
|
|
65
|
+
|
|
59
66
|
// Use Arduino HardwareSerial UARTs if all used pins match the ones
|
|
60
67
|
// preconfigured by the platform. For example if RX disabled but TX pin
|
|
61
68
|
// is 1 we still want to use Serial.
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
#include "esphome/core/defines.h"
|
|
7
7
|
#include "esphome/core/helpers.h"
|
|
8
8
|
#include "esphome/core/log.h"
|
|
9
|
+
#include "esphome/core/gpio.h"
|
|
10
|
+
#include "driver/gpio.h"
|
|
11
|
+
#include "soc/gpio_num.h"
|
|
9
12
|
|
|
10
13
|
#ifdef USE_LOGGER
|
|
11
14
|
#include "esphome/components/logger/logger.h"
|
|
@@ -104,6 +107,13 @@ void IDFUARTComponent::load_settings(bool dump_config) {
|
|
|
104
107
|
return;
|
|
105
108
|
}
|
|
106
109
|
|
|
110
|
+
if (this->rx_pin_) {
|
|
111
|
+
this->rx_pin_->setup();
|
|
112
|
+
}
|
|
113
|
+
if (this->tx_pin_ && this->rx_pin_ != this->tx_pin_) {
|
|
114
|
+
this->tx_pin_->setup();
|
|
115
|
+
}
|
|
116
|
+
|
|
107
117
|
int8_t tx = this->tx_pin_ != nullptr ? this->tx_pin_->get_pin() : -1;
|
|
108
118
|
int8_t rx = this->rx_pin_ != nullptr ? this->rx_pin_->get_pin() : -1;
|
|
109
119
|
int8_t flow_control = this->flow_control_pin_ != nullptr ? this->flow_control_pin_->get_pin() : -1;
|
|
@@ -46,6 +46,13 @@ uint16_t LibreTinyUARTComponent::get_config() {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
void LibreTinyUARTComponent::setup() {
|
|
49
|
+
if (this->rx_pin_) {
|
|
50
|
+
this->rx_pin_->setup();
|
|
51
|
+
}
|
|
52
|
+
if (this->tx_pin_ && this->rx_pin_ != this->tx_pin_) {
|
|
53
|
+
this->tx_pin_->setup();
|
|
54
|
+
}
|
|
55
|
+
|
|
49
56
|
int8_t tx_pin = tx_pin_ == nullptr ? -1 : tx_pin_->get_pin();
|
|
50
57
|
int8_t rx_pin = rx_pin_ == nullptr ? -1 : rx_pin_->get_pin();
|
|
51
58
|
bool tx_inverted = tx_pin_ != nullptr && tx_pin_->is_inverted();
|
|
@@ -52,6 +52,13 @@ uint16_t RP2040UartComponent::get_config() {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
void RP2040UartComponent::setup() {
|
|
55
|
+
if (this->rx_pin_) {
|
|
56
|
+
this->rx_pin_->setup();
|
|
57
|
+
}
|
|
58
|
+
if (this->tx_pin_ && this->rx_pin_ != this->tx_pin_) {
|
|
59
|
+
this->tx_pin_->setup();
|
|
60
|
+
}
|
|
61
|
+
|
|
55
62
|
uint16_t config = get_config();
|
|
56
63
|
|
|
57
64
|
constexpr uint32_t valid_tx_uart_0 = __bitset({0, 12, 16, 28});
|
esphome/const.py
CHANGED
esphome/helpers.py
CHANGED
|
@@ -224,36 +224,37 @@ def resolve_ip_address(
|
|
|
224
224
|
return res
|
|
225
225
|
|
|
226
226
|
# Process hosts
|
|
227
|
-
|
|
227
|
+
|
|
228
228
|
uncached_hosts: list[str] = []
|
|
229
|
-
has_cache = address_cache is not None
|
|
230
229
|
|
|
231
230
|
for h in hosts:
|
|
232
231
|
if is_ip_address(h):
|
|
233
|
-
|
|
234
|
-
# If we have a cache, treat IPs as cached
|
|
235
|
-
cached_addresses.append(h)
|
|
236
|
-
else:
|
|
237
|
-
# If no cache, pass IPs through to resolver with hostnames
|
|
238
|
-
uncached_hosts.append(h)
|
|
232
|
+
_add_ip_addresses_to_addrinfo([h], port, res)
|
|
239
233
|
elif address_cache and (cached := address_cache.get_addresses(h)):
|
|
240
|
-
|
|
241
|
-
cached_addresses.extend(cached)
|
|
234
|
+
_add_ip_addresses_to_addrinfo(cached, port, res)
|
|
242
235
|
else:
|
|
243
236
|
# Not cached, need to resolve
|
|
244
237
|
if address_cache and address_cache.has_cache():
|
|
245
238
|
_LOGGER.info("Host %s not in cache, will need to resolve", h)
|
|
246
239
|
uncached_hosts.append(h)
|
|
247
240
|
|
|
248
|
-
# Process cached addresses (includes direct IPs and cached lookups)
|
|
249
|
-
_add_ip_addresses_to_addrinfo(cached_addresses, port, res)
|
|
250
|
-
|
|
251
241
|
# If we have uncached hosts (only non-IP hostnames), resolve them
|
|
252
242
|
if uncached_hosts:
|
|
243
|
+
from aioesphomeapi.host_resolver import AddrInfo as AioAddrInfo
|
|
244
|
+
|
|
245
|
+
from esphome.core import EsphomeError
|
|
253
246
|
from esphome.resolver import AsyncResolver
|
|
254
247
|
|
|
255
248
|
resolver = AsyncResolver(uncached_hosts, port)
|
|
256
|
-
addr_infos =
|
|
249
|
+
addr_infos: list[AioAddrInfo] = []
|
|
250
|
+
try:
|
|
251
|
+
addr_infos = resolver.resolve()
|
|
252
|
+
except EsphomeError as err:
|
|
253
|
+
if not res:
|
|
254
|
+
# No pre-resolved addresses available, DNS resolution is fatal
|
|
255
|
+
raise
|
|
256
|
+
_LOGGER.info("%s (using %d already resolved IP addresses)", err, len(res))
|
|
257
|
+
|
|
257
258
|
# Convert aioesphomeapi AddrInfo to our format
|
|
258
259
|
for addr_info in addr_infos:
|
|
259
260
|
sockaddr = addr_info.sockaddr
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: esphome
|
|
3
|
-
Version: 2025.10.
|
|
3
|
+
Version: 2025.10.3
|
|
4
4
|
Summary: ESPHome is a system to configure your microcontrollers by simple yet powerful configuration files and control them remotely through Home Automation systems.
|
|
5
5
|
Author-email: The ESPHome Authors <esphome@openhomefoundation.org>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -6,7 +6,7 @@ esphome/codegen.py,sha256=91Q9SVbTlgH_gFU4_sbVi6YEAiOjLuAGHG6qqV3lLHo,1939
|
|
|
6
6
|
esphome/config.py,sha256=fu7G01comMPAfWd-ZZzUyIqO6cuLb6F44Sxv2LIFCUc,45156
|
|
7
7
|
esphome/config_helpers.py,sha256=P-tlafqFIQuCxdWERlk38MXQcB9apHcR68-DgeUco5s,6207
|
|
8
8
|
esphome/config_validation.py,sha256=r1llmDF0ePekWWblPwLd0Cnrbxwn0W1BBZubpBtYuEc,65057
|
|
9
|
-
esphome/const.py,sha256=
|
|
9
|
+
esphome/const.py,sha256=Iw13HI_h56ExkXtKERtARogQBNfIqEGFM1qyohOSpE0,44487
|
|
10
10
|
esphome/coroutine.py,sha256=JFBDo8ngY46zhxvjk5aQ5MO_-qrqKDfKQTglEIqHrYY,11946
|
|
11
11
|
esphome/cpp_generator.py,sha256=DhHZT5s-Pbx5MJ762N_hFOYFo4Q9c0wJQG4p7UU_1lc,31901
|
|
12
12
|
esphome/cpp_helpers.py,sha256=r-hrUp7luke-ByuK2Z0TCzIvn4tTswMUkAzlVoKntiI,4039
|
|
@@ -16,7 +16,7 @@ esphome/espota2.py,sha256=WB9STR5RuoeKEa9ELYu9q2Ax8IqIXjoNw6SPydhOGvg,15219
|
|
|
16
16
|
esphome/external_files.py,sha256=BHNQqKGkY-AWZ7hEVPoB4mxgHQi-pYYHkrUayoXTa8M,3398
|
|
17
17
|
esphome/final_validate.py,sha256=EPhbU4xyEL3POdSY7oygyAIVvkeYM7qH-6eZWb76DFE,1898
|
|
18
18
|
esphome/git.py,sha256=GClrvAo4VsAhKRRDbqSv5nivtGZThEfbTCDxgq6uJyI,6615
|
|
19
|
-
esphome/helpers.py,sha256=
|
|
19
|
+
esphome/helpers.py,sha256=mZf55V1uwR_iDvDYnw6CYwcN95uJm1nf7XnoylwVhLs,17083
|
|
20
20
|
esphome/loader.py,sha256=ZixSTTXUDHiv7QDjsVQOqNM3MMBPbsZEn5JKtAwYONM,7545
|
|
21
21
|
esphome/log.py,sha256=f2wZVDYABr-2FNy5NzHjNey6Nf6HzVCp1zubfkk8o0w,2433
|
|
22
22
|
esphome/mqtt.py,sha256=f15I9DWxxo0wDj-9Aw7afSYQ0jpcPzHbmE6VVvPFruU,9912
|
|
@@ -1178,7 +1178,7 @@ esphome/components/hbridge/switch/__init__.py,sha256=7EJql03a0gGpfD_3Ofe6xSRmhwV
|
|
|
1178
1178
|
esphome/components/hbridge/switch/hbridge_switch.cpp,sha256=Eh_zNYDq0cpCV5Px22Pe5wzc7cwaWMplhn3onmtNlxA,2770
|
|
1179
1179
|
esphome/components/hbridge/switch/hbridge_switch.h,sha256=NwguFzV68Fa6OmzvzFM8Y-Ig1FYdatEwP_pe-jd8r4A,1352
|
|
1180
1180
|
esphome/components/hdc1080/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1181
|
-
esphome/components/hdc1080/hdc1080.cpp,sha256=
|
|
1181
|
+
esphome/components/hdc1080/hdc1080.cpp,sha256=EWIWrv5FodXfj0SOwgHG_OkX7DX50CRvT7hggCVKQ14,2424
|
|
1182
1182
|
esphome/components/hdc1080/hdc1080.h,sha256=jqr4UyU8o8jS929N0ba86b4wjQStYYIt1kfHdmsokGM,722
|
|
1183
1183
|
esphome/components/hdc1080/sensor.py,sha256=XSg1Ailx3GlxZX2pHwyxVxK6IaQcrZpxwfCYUiimb6g,1688
|
|
1184
1184
|
esphome/components/he60r/__init__.py,sha256=4Nn7UhpMJ9oSbuLdyVEW7G9PlIey2v33SWRNVizt9Oc,30
|
|
@@ -3379,15 +3379,15 @@ esphome/components/uart/uart.cpp,sha256=OIxeRlO_6X1wKbsvqTDMf8PAr0M1c7TdM1tRAQuu
|
|
|
3379
3379
|
esphome/components/uart/uart.h,sha256=n2S1ZyH5jOf3ua9Sm5uU-HP0ZQX_OAV2TmngLUbE8bI,2531
|
|
3380
3380
|
esphome/components/uart/uart_component.cpp,sha256=5Kta9_Ubw3LOvrxooGR8hnYLOhiqLhpaAUNXoEBHuvA,864
|
|
3381
3381
|
esphome/components/uart/uart_component.h,sha256=GomkDgOYOI74H5XjRHxnqy9o8F1r5czYNiWKNQUWg9A,7142
|
|
3382
|
-
esphome/components/uart/uart_component_esp8266.cpp,sha256=
|
|
3382
|
+
esphome/components/uart/uart_component_esp8266.cpp,sha256=YfIEnD-rWqIsXGQxoZ7jBxOkbs_xdjxInMlLjd74acs,10934
|
|
3383
3383
|
esphome/components/uart/uart_component_esp8266.h,sha256=5KMN-fUHCDbS9ppn-PKziVknoBLZqy-tJx9HGXh_qOE,2428
|
|
3384
|
-
esphome/components/uart/uart_component_esp_idf.cpp,sha256=
|
|
3384
|
+
esphome/components/uart/uart_component_esp_idf.cpp,sha256=_rbThbjC_hAU7l-1ZB6Rg7LqgmnrBVgCmiGxOUZ2GDY,9186
|
|
3385
3385
|
esphome/components/uart/uart_component_esp_idf.h,sha256=WDeyfUBQ3OLX6xJoKgEPaFtjiU4f5CoN-a5NAXnXHXE,1595
|
|
3386
3386
|
esphome/components/uart/uart_component_host.cpp,sha256=s1qnqA8azZR2lLGIXRVIh22Tf02dKIOw-nDuKVZ4qns,7165
|
|
3387
3387
|
esphome/components/uart/uart_component_host.h,sha256=3U7oLyjyWW0sOuwSx1puyeWR-w_a7ukhE-3obxCyHWU,992
|
|
3388
|
-
esphome/components/uart/uart_component_libretiny.cpp,sha256=
|
|
3388
|
+
esphome/components/uart/uart_component_libretiny.cpp,sha256=8KtXFFAwaX9qDRP_SnkTp-ZcwDtRBfwPyP7kpAsbPJE,4830
|
|
3389
3389
|
esphome/components/uart/uart_component_libretiny.h,sha256=Enf4Chvo7w3I4B3e9uT7qi6frqG_lXRB4dFQRorjiGE,990
|
|
3390
|
-
esphome/components/uart/uart_component_rp2040.cpp,sha256=
|
|
3390
|
+
esphome/components/uart/uart_component_rp2040.cpp,sha256=eJ1j7F-TctzzgO8GON0pl8FD7mSJ_h815kMMLRD58RU,5583
|
|
3391
3391
|
esphome/components/uart/uart_component_rp2040.h,sha256=rRbmMP_UlTQa-Qn2i2HgbKcxisXjrTsc-7B8CWLVy44,1016
|
|
3392
3392
|
esphome/components/uart/uart_debugger.cpp,sha256=GhHBYSirECFJqmqy38eCv0ayKUYNgdD2FV9aVKQpKwk,5493
|
|
3393
3393
|
esphome/components/uart/uart_debugger.h,sha256=MCZ7YEd-iIoEJcdEoop0Xb1e4A64aNxLXPGSKcoQZCI,4008
|
|
@@ -3786,9 +3786,9 @@ esphome/dashboard/util/itertools.py,sha256=8eLrWEWmICLtXNxkKdYPQV0c_N4GEz8m9Npnb
|
|
|
3786
3786
|
esphome/dashboard/util/password.py,sha256=cQz3b9B-ijTe7zS6BeCW0hc3pWv6JjC78jmnycYYAh8,321
|
|
3787
3787
|
esphome/dashboard/util/subprocess.py,sha256=T8EW6dbU4LPd2DG1dRrdh8li71tt6J1isn411poMhkk,1022
|
|
3788
3788
|
esphome/dashboard/util/text.py,sha256=wwFtORlvHjsYkqb68IT-772LHAhWxT4OtnkIcPICQB0,317
|
|
3789
|
-
esphome-2025.10.
|
|
3790
|
-
esphome-2025.10.
|
|
3791
|
-
esphome-2025.10.
|
|
3792
|
-
esphome-2025.10.
|
|
3793
|
-
esphome-2025.10.
|
|
3794
|
-
esphome-2025.10.
|
|
3789
|
+
esphome-2025.10.3.dist-info/licenses/LICENSE,sha256=HzEjkBInJe44L4WvAOPfhPJJDNj6YbnqFyvGWRzArGM,36664
|
|
3790
|
+
esphome-2025.10.3.dist-info/METADATA,sha256=t-rv1wLsMFgKES-CpiaR1zIPZJ1hW2aNSd7n_eArdf0,3633
|
|
3791
|
+
esphome-2025.10.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
3792
|
+
esphome-2025.10.3.dist-info/entry_points.txt,sha256=mIxVNuWtbYzeEcaWCl-AQ-97aBOWbnYBAK8nbF6P4M0,50
|
|
3793
|
+
esphome-2025.10.3.dist-info/top_level.txt,sha256=0GSXEW3cnITpgG3qnsSMz0qoqJHAFyfw7Y8MVtEf1Yk,8
|
|
3794
|
+
esphome-2025.10.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|