esphome 2025.2.0b3__py3-none-any.whl → 2025.2.0b5__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.
- esphome/components/api/client.py +8 -3
- esphome/components/dht/dht.cpp +2 -1
- esphome/components/dht/sensor.py +1 -1
- esphome/components/display/display.cpp +14 -2
- esphome/components/font/__init__.py +1 -1
- esphome/components/scd30/sensor.py +1 -1
- esphome/const.py +1 -1
- {esphome-2025.2.0b3.dist-info → esphome-2025.2.0b5.dist-info}/METADATA +4 -4
- {esphome-2025.2.0b3.dist-info → esphome-2025.2.0b5.dist-info}/RECORD +13 -13
- {esphome-2025.2.0b3.dist-info → esphome-2025.2.0b5.dist-info}/LICENSE +0 -0
- {esphome-2025.2.0b3.dist-info → esphome-2025.2.0b5.dist-info}/WHEEL +0 -0
- {esphome-2025.2.0b3.dist-info → esphome-2025.2.0b5.dist-info}/entry_points.txt +0 -0
- {esphome-2025.2.0b3.dist-info → esphome-2025.2.0b5.dist-info}/top_level.txt +0 -0
esphome/components/api/client.py
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
from __future__ import annotations
|
2
2
|
|
3
3
|
import asyncio
|
4
|
-
import logging
|
5
4
|
from datetime import datetime
|
6
|
-
|
5
|
+
import logging
|
6
|
+
from typing import TYPE_CHECKING, Any
|
7
7
|
|
8
8
|
from aioesphomeapi import APIClient
|
9
|
-
from aioesphomeapi.api_pb2 import SubscribeLogsResponse
|
10
9
|
from aioesphomeapi.log_runner import async_run
|
11
10
|
|
12
11
|
from esphome.const import CONF_KEY, CONF_PASSWORD, CONF_PORT, __version__
|
@@ -14,6 +13,12 @@ from esphome.core import CORE
|
|
14
13
|
|
15
14
|
from . import CONF_ENCRYPTION
|
16
15
|
|
16
|
+
if TYPE_CHECKING:
|
17
|
+
from aioesphomeapi.api_pb2 import (
|
18
|
+
SubscribeLogsResponse, # pylint: disable=no-name-in-module
|
19
|
+
)
|
20
|
+
|
21
|
+
|
17
22
|
_LOGGER = logging.getLogger(__name__)
|
18
23
|
|
19
24
|
|
esphome/components/dht/dht.cpp
CHANGED
@@ -23,6 +23,7 @@ void DHT::dump_config() {
|
|
23
23
|
} else {
|
24
24
|
ESP_LOGCONFIG(TAG, " Model: DHT22 (or equivalent)");
|
25
25
|
}
|
26
|
+
ESP_LOGCONFIG(TAG, " Internal Pull-up: %s", ONOFF(this->pin_->get_flags() & gpio::FLAG_PULLUP));
|
26
27
|
|
27
28
|
LOG_UPDATE_INTERVAL(this);
|
28
29
|
|
@@ -101,7 +102,7 @@ bool HOT IRAM_ATTR DHT::read_sensor_(float *temperature, float *humidity, bool r
|
|
101
102
|
} else {
|
102
103
|
delayMicroseconds(800);
|
103
104
|
}
|
104
|
-
this->pin_->pin_mode(
|
105
|
+
this->pin_->pin_mode(this->pin_->get_flags());
|
105
106
|
|
106
107
|
{
|
107
108
|
InterruptLock lock;
|
esphome/components/dht/sensor.py
CHANGED
@@ -34,7 +34,7 @@ DHT = dht_ns.class_("DHT", cg.PollingComponent)
|
|
34
34
|
CONFIG_SCHEMA = cv.Schema(
|
35
35
|
{
|
36
36
|
cv.GenerateID(): cv.declare_id(DHT),
|
37
|
-
cv.Required(CONF_PIN): pins.
|
37
|
+
cv.Required(CONF_PIN): pins.internal_gpio_input_pullup_pin_schema,
|
38
38
|
cv.Optional(CONF_TEMPERATURE): sensor.sensor_schema(
|
39
39
|
unit_of_measurement=UNIT_CELSIUS,
|
40
40
|
accuracy_decimals=1,
|
@@ -815,8 +815,20 @@ void Display::test_card() {
|
|
815
815
|
|
816
816
|
DisplayPage::DisplayPage(display_writer_t writer) : writer_(std::move(writer)) {}
|
817
817
|
void DisplayPage::show() { this->parent_->show_page(this); }
|
818
|
-
void DisplayPage::show_next() {
|
819
|
-
|
818
|
+
void DisplayPage::show_next() {
|
819
|
+
if (this->next_ == nullptr) {
|
820
|
+
ESP_LOGE(TAG, "no next page");
|
821
|
+
return;
|
822
|
+
}
|
823
|
+
this->next_->show();
|
824
|
+
}
|
825
|
+
void DisplayPage::show_prev() {
|
826
|
+
if (this->prev_ == nullptr) {
|
827
|
+
ESP_LOGE(TAG, "no previous page");
|
828
|
+
return;
|
829
|
+
}
|
830
|
+
this->prev_->show();
|
831
|
+
}
|
820
832
|
void DisplayPage::set_parent(Display *parent) { this->parent_ = parent; }
|
821
833
|
void DisplayPage::set_prev(DisplayPage *prev) { this->prev_ = prev; }
|
822
834
|
void DisplayPage::set_next(DisplayPage *next) { this->next_ = next; }
|
@@ -75,7 +75,7 @@ CONFIG_SCHEMA = (
|
|
75
75
|
cv.Optional(CONF_UPDATE_INTERVAL, default="60s"): cv.All(
|
76
76
|
cv.positive_time_period_seconds,
|
77
77
|
cv.Range(
|
78
|
-
min=core.TimePeriod(seconds=
|
78
|
+
min=core.TimePeriod(seconds=2), max=core.TimePeriod(seconds=1800)
|
79
79
|
),
|
80
80
|
),
|
81
81
|
}
|
esphome/const.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: esphome
|
3
|
-
Version: 2025.2.
|
3
|
+
Version: 2025.2.0b5
|
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@nabucasa.com>
|
6
6
|
License: MIT
|
@@ -37,11 +37,11 @@ Requires-Dist: platformio ==6.1.16
|
|
37
37
|
Requires-Dist: esptool ==4.7.0
|
38
38
|
Requires-Dist: click ==8.1.7
|
39
39
|
Requires-Dist: esphome-dashboard ==20250212.0
|
40
|
-
Requires-Dist: aioesphomeapi ==
|
41
|
-
Requires-Dist: zeroconf ==0.144.
|
40
|
+
Requires-Dist: aioesphomeapi ==29.1.0
|
41
|
+
Requires-Dist: zeroconf ==0.144.3
|
42
42
|
Requires-Dist: puremagic ==1.27
|
43
43
|
Requires-Dist: ruamel.yaml ==0.18.6
|
44
|
-
Requires-Dist: glyphsets ==1.0
|
44
|
+
Requires-Dist: esphome-glyphsets ==0.1.0
|
45
45
|
Requires-Dist: pillow ==10.4.0
|
46
46
|
Requires-Dist: freetype-py ==2.5.1
|
47
47
|
Requires-Dist: kconfiglib ==13.7.1
|
@@ -5,7 +5,7 @@ esphome/codegen.py,sha256=GePHUM7xdXb_Pil59SHVsXg2F4VBPgkH-Fz2PDX8Z54,1873
|
|
5
5
|
esphome/config.py,sha256=fFrDYbhWY1xn_onAl_0jwlg9D8NkK_FdKULTlnjZtxs,39832
|
6
6
|
esphome/config_helpers.py,sha256=MKf_wzO35nn41FvigXE0iYKDslPgL2ruf8R-EPtTT2I,3256
|
7
7
|
esphome/config_validation.py,sha256=qpNSoruGC4Tb7KNtgahginfMrhoRdjYUs-3Et2ww7rg,67868
|
8
|
-
esphome/const.py,sha256=
|
8
|
+
esphome/const.py,sha256=hqtz7jvlHKEFQ5No6in_hLcnRrTKLrw9K0IEUtYjQX8,40664
|
9
9
|
esphome/coroutine.py,sha256=j_14z8dIIzIBeuNO30D4c1RJvMMt1xZFZ58Evd-EvJA,9344
|
10
10
|
esphome/cpp_generator.py,sha256=PS_vtNLykRldK7n2bSZ1e9zIEajnCNc_ruW9beMNulQ,31235
|
11
11
|
esphome/cpp_helpers.py,sha256=6C2vNbOIhZKi43xRVlk5hp9GfshfBn-rc5D_ZFUEYaE,4801
|
@@ -193,7 +193,7 @@ esphome/components/api/api_pb2_service.cpp,sha256=xYIanFE-N_3LRJgp-1_5Ey88_BMlYZ
|
|
193
193
|
esphome/components/api/api_pb2_service.h,sha256=XgdMInOdOxFQZ0X7EDt8rQWX9Z0TSS2LDWsga5vNckg,22581
|
194
194
|
esphome/components/api/api_server.cpp,sha256=ckb6InKfGJg4TPMBQWMmTO_fn_xpdqAuC7lzvs903gs,11308
|
195
195
|
esphome/components/api/api_server.h,sha256=huBKkSTXYFs9BMiLQ724A6oSSBe4WF-kS2rFMi-uYbg,5326
|
196
|
-
esphome/components/api/client.py,sha256=
|
196
|
+
esphome/components/api/client.py,sha256=FP3VX0AVCQWbIH7v33umEV68_3tRVTJ4XuWFCR5jAV0,1868
|
197
197
|
esphome/components/api/custom_api_device.h,sha256=CyFBolpdvgrJ0vrHUwcHzUh5SV4Fh5296ro4w8e19MQ,7454
|
198
198
|
esphome/components/api/homeassistant_service.h,sha256=QW9OvbYwXaunBEEYU546YqnwQjmPxtacGyf5VRcbGFo,2814
|
199
199
|
esphome/components/api/list_entities.cpp,sha256=j5fMC4sfAnVOVqI9-HnilB65JytaVWx6wmMAkcdnBOw,3908
|
@@ -675,15 +675,15 @@ esphome/components/dfrobot_sen0395/switch/__init__.py,sha256=9qjTaG1f97EvwRyF_Nd
|
|
675
675
|
esphome/components/dfrobot_sen0395/switch/dfrobot_sen0395_switch.cpp,sha256=Mg2BnNhxJZl9MYnniUYNkYW7O19jURvT8L530-GpdZU,1508
|
676
676
|
esphome/components/dfrobot_sen0395/switch/dfrobot_sen0395_switch.h,sha256=Yqn5ZUltr7Htvr40Qdxw1QOvqb3Hgs1mi7UMaptJ8Cg,810
|
677
677
|
esphome/components/dht/__init__.py,sha256=PTP_5q_K_2dNnUdkolkVd5komlEbJdS4lolCp8dvjKk,29
|
678
|
-
esphome/components/dht/dht.cpp,sha256
|
678
|
+
esphome/components/dht/dht.cpp,sha256=l6xNlXg6ejKVoLii95J_5mYGpwHxTdgV5mgOvJVYKAo,7701
|
679
679
|
esphome/components/dht/dht.h,sha256=K-lebe2MkHhqifChB4q52yRJqR_0DAzVYZP1sitM88I,1772
|
680
|
-
esphome/components/dht/sensor.py,sha256=
|
680
|
+
esphome/components/dht/sensor.py,sha256=7B1Ln-YnO1DtY9jbyrPXCO0E-5cVyeKOnbR75GRFBj0,2269
|
681
681
|
esphome/components/dht12/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
682
682
|
esphome/components/dht12/dht12.cpp,sha256=l9vUeg6oc_XRIifT6pft_Jjk4WmS08rLkWv_af_WQHg,2020
|
683
683
|
esphome/components/dht12/dht12.h,sha256=zHdQNIDC7nPMblvyEkTfXMeGCLmYRB7ZL_SXuB2PEWY,788
|
684
684
|
esphome/components/dht12/sensor.py,sha256=9P1JtUF2VRYtEE1j8GHlsob1EHF5n3DC7mGuGV_fE_w,1684
|
685
685
|
esphome/components/display/__init__.py,sha256=cKo4ldiSbNxcJKEITCDODtgS9kKzQJoPtJIc7mMapsQ,6760
|
686
|
-
esphome/components/display/display.cpp,sha256=
|
686
|
+
esphome/components/display/display.cpp,sha256=sFhBJ90cclkXNTMtx-mvPqVVS0K9diD7NvHLgAJEzkM,32372
|
687
687
|
esphome/components/display/display.h,sha256=uIs9FRgOYUXvOuEJ1NWsXtfja0a3SWCdmx-gGbhrfC0,32346
|
688
688
|
esphome/components/display/display_buffer.cpp,sha256=0jL60x2WNyDTNgjK2Iv7R4ZlA57cbIt1-J_QvGFKlbM,1896
|
689
689
|
esphome/components/display/display_buffer.h,sha256=RkFqe72PZtSKR60mWlb79FDqVQQFsefcEOdOMwIjuGc,809
|
@@ -949,7 +949,7 @@ esphome/components/fingerprint_grow/binary_sensor.py,sha256=NeVcqVCpmjGdnfimIIWS
|
|
949
949
|
esphome/components/fingerprint_grow/fingerprint_grow.cpp,sha256=xtHEpnp1Ei_5s5SS5Vfxt8vG_PoPMmeUjbOQHWrn5G0,18675
|
950
950
|
esphome/components/fingerprint_grow/fingerprint_grow.h,sha256=UEkLR4Cqas_XYlTLAwscXCAMRoprWeQZEZ_3vTsI-BM,11206
|
951
951
|
esphome/components/fingerprint_grow/sensor.py,sha256=eazvZvdtt1Rl8o3Aw6eYKn-kb2sNDfZKHegxpFFdQeg,2244
|
952
|
-
esphome/components/font/__init__.py,sha256=
|
952
|
+
esphome/components/font/__init__.py,sha256=tDeQCDXzBKW7urP6t_MTOsMlF9UKC9xh6m3E4nAS5dw,19248
|
953
953
|
esphome/components/font/font.cpp,sha256=xORioLApiap2sPwx4d5uMTQNx5-OUIYSB8pt0uHx0IU,5413
|
954
954
|
esphome/components/font/font.h,sha256=jTeGf7Osax98Tbs9TeZ01Ta3P2FZt-wWar1bybMFc20,2009
|
955
955
|
esphome/components/fs3000/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -2402,7 +2402,7 @@ esphome/components/scd30/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
2402
2402
|
esphome/components/scd30/automation.h,sha256=rfqCTWoIaSyT1U3rvr_AmHMW5KSF8BuncXJJfU5mHwM,537
|
2403
2403
|
esphome/components/scd30/scd30.cpp,sha256=MAz2Wx8GrNe1uiM4dWIQJ1vTlWcvI0bGiuBF1-7C7wk,7889
|
2404
2404
|
esphome/components/scd30/scd30.h,sha256=WykoEiJlxmA9cio2XdI4zGlCpWIlTrn364-RHAdC2kw,1944
|
2405
|
-
esphome/components/scd30/sensor.py,sha256=
|
2405
|
+
esphome/components/scd30/sensor.py,sha256=zdDmunESzDVpK0g37tFxV_6bVTrwaY1EaJk9xA2fGnw,4871
|
2406
2406
|
esphome/components/scd4x/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2407
2407
|
esphome/components/scd4x/automation.h,sha256=bGkGwV0wHimPe_0oug111GAsCJyahpr1LRoW0n1F81E,715
|
2408
2408
|
esphome/components/scd4x/scd4x.cpp,sha256=BsN-KoOPJm2h2UubkUyL0uwBV5RAj8DPkCWEeN5pCsc,11513
|
@@ -3434,9 +3434,9 @@ esphome/dashboard/util/itertools.py,sha256=8eLrWEWmICLtXNxkKdYPQV0c_N4GEz8m9Npnb
|
|
3434
3434
|
esphome/dashboard/util/password.py,sha256=cQz3b9B-ijTe7zS6BeCW0hc3pWv6JjC78jmnycYYAh8,321
|
3435
3435
|
esphome/dashboard/util/subprocess.py,sha256=T8EW6dbU4LPd2DG1dRrdh8li71tt6J1isn411poMhkk,1022
|
3436
3436
|
esphome/dashboard/util/text.py,sha256=ENDnfN4O0NdA3CKVJjQYabFbwbrsIhVKrAMQe53qYu4,534
|
3437
|
-
esphome-2025.2.
|
3438
|
-
esphome-2025.2.
|
3439
|
-
esphome-2025.2.
|
3440
|
-
esphome-2025.2.
|
3441
|
-
esphome-2025.2.
|
3442
|
-
esphome-2025.2.
|
3437
|
+
esphome-2025.2.0b5.dist-info/LICENSE,sha256=HzEjkBInJe44L4WvAOPfhPJJDNj6YbnqFyvGWRzArGM,36664
|
3438
|
+
esphome-2025.2.0b5.dist-info/METADATA,sha256=SAgVFt6meBGHmdWe9sqHCzzoX9AQXQTR180CmOAUCCg,3691
|
3439
|
+
esphome-2025.2.0b5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
3440
|
+
esphome-2025.2.0b5.dist-info/entry_points.txt,sha256=mIxVNuWtbYzeEcaWCl-AQ-97aBOWbnYBAK8nbF6P4M0,50
|
3441
|
+
esphome-2025.2.0b5.dist-info/top_level.txt,sha256=0GSXEW3cnITpgG3qnsSMz0qoqJHAFyfw7Y8MVtEf1Yk,8
|
3442
|
+
esphome-2025.2.0b5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|