esphome 2024.6.0b2__py3-none-any.whl → 2024.6.0b3__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/ili9xxx/ili9xxx_display.cpp +17 -3
- esphome/components/ili9xxx/ili9xxx_display.h +2 -1
- esphome/components/mqtt/mqtt_datetime.cpp +3 -3
- esphome/components/mqtt/mqtt_datetime.h +3 -3
- esphome/components/update/__init__.py +2 -0
- esphome/const.py +1 -1
- {esphome-2024.6.0b2.dist-info → esphome-2024.6.0b3.dist-info}/METADATA +1 -1
- {esphome-2024.6.0b2.dist-info → esphome-2024.6.0b3.dist-info}/RECORD +12 -12
- {esphome-2024.6.0b2.dist-info → esphome-2024.6.0b3.dist-info}/LICENSE +0 -0
- {esphome-2024.6.0b2.dist-info → esphome-2024.6.0b3.dist-info}/WHEEL +0 -0
- {esphome-2024.6.0b2.dist-info → esphome-2024.6.0b3.dist-info}/entry_points.txt +0 -0
- {esphome-2024.6.0b2.dist-info → esphome-2024.6.0b3.dist-info}/top_level.txt +0 -0
@@ -34,8 +34,8 @@ void ILI9XXXDisplay::setup() {
|
|
34
34
|
ESP_LOGD(TAG, "Setting up ILI9xxx");
|
35
35
|
|
36
36
|
this->setup_pins_();
|
37
|
-
this->
|
38
|
-
this->
|
37
|
+
this->init_lcd(this->init_sequence_);
|
38
|
+
this->init_lcd(this->extra_init_sequence_.data());
|
39
39
|
switch (this->pixel_mode_) {
|
40
40
|
case PIXEL_MODE_16:
|
41
41
|
if (this->is_18bitdisplay_) {
|
@@ -405,7 +405,7 @@ void ILI9XXXDisplay::reset_() {
|
|
405
405
|
}
|
406
406
|
}
|
407
407
|
|
408
|
-
void ILI9XXXDisplay::
|
408
|
+
void ILI9XXXDisplay::init_lcd(const uint8_t *addr) {
|
409
409
|
if (addr == nullptr)
|
410
410
|
return;
|
411
411
|
uint8_t cmd, x, num_args;
|
@@ -427,6 +427,20 @@ void ILI9XXXDisplay::init_lcd_(const uint8_t *addr) {
|
|
427
427
|
}
|
428
428
|
}
|
429
429
|
|
430
|
+
void ILI9XXXGC9A01A::init_lcd(const uint8_t *addr) {
|
431
|
+
if (addr == nullptr)
|
432
|
+
return;
|
433
|
+
uint8_t cmd, x, num_args;
|
434
|
+
while ((cmd = *addr++) != 0) {
|
435
|
+
x = *addr++;
|
436
|
+
num_args = x & 0x7F;
|
437
|
+
this->send_command(cmd, addr, num_args);
|
438
|
+
addr += num_args;
|
439
|
+
if (x & 0x80)
|
440
|
+
delay(150); // NOLINT
|
441
|
+
}
|
442
|
+
}
|
443
|
+
|
430
444
|
// Tell the display controller where we want to draw pixels.
|
431
445
|
void ILI9XXXDisplay::set_addr_window_(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) {
|
432
446
|
x1 += this->offset_x_;
|
@@ -109,7 +109,7 @@ class ILI9XXXDisplay : public display::DisplayBuffer,
|
|
109
109
|
|
110
110
|
virtual void set_madctl();
|
111
111
|
void display_();
|
112
|
-
void
|
112
|
+
virtual void init_lcd(const uint8_t *addr);
|
113
113
|
void set_addr_window_(uint16_t x, uint16_t y, uint16_t x2, uint16_t y2);
|
114
114
|
void reset_();
|
115
115
|
|
@@ -269,6 +269,7 @@ class ILI9XXXS3BoxLite : public ILI9XXXDisplay {
|
|
269
269
|
class ILI9XXXGC9A01A : public ILI9XXXDisplay {
|
270
270
|
public:
|
271
271
|
ILI9XXXGC9A01A() : ILI9XXXDisplay(INITCMD_GC9A01A, 240, 240, true) {}
|
272
|
+
void init_lcd(const uint8_t *addr) override;
|
272
273
|
};
|
273
274
|
|
274
275
|
//----------- ILI9XXX_24_TFT display --------------
|
@@ -6,12 +6,12 @@
|
|
6
6
|
#include "mqtt_const.h"
|
7
7
|
|
8
8
|
#ifdef USE_MQTT
|
9
|
-
#ifdef
|
9
|
+
#ifdef USE_DATETIME_DATETIME
|
10
10
|
|
11
11
|
namespace esphome {
|
12
12
|
namespace mqtt {
|
13
13
|
|
14
|
-
static const char *const TAG = "mqtt.datetime.
|
14
|
+
static const char *const TAG = "mqtt.datetime.datetime";
|
15
15
|
|
16
16
|
using namespace esphome::datetime;
|
17
17
|
|
@@ -80,5 +80,5 @@ bool MQTTDateTimeComponent::publish_state(uint16_t year, uint8_t month, uint8_t
|
|
80
80
|
} // namespace mqtt
|
81
81
|
} // namespace esphome
|
82
82
|
|
83
|
-
#endif //
|
83
|
+
#endif // USE_DATETIME_DATETIME
|
84
84
|
#endif // USE_MQTT
|
@@ -3,7 +3,7 @@
|
|
3
3
|
#include "esphome/core/defines.h"
|
4
4
|
|
5
5
|
#ifdef USE_MQTT
|
6
|
-
#ifdef
|
6
|
+
#ifdef USE_DATETIME_DATETIME
|
7
7
|
|
8
8
|
#include "esphome/components/datetime/datetime_entity.h"
|
9
9
|
#include "mqtt_component.h"
|
@@ -17,7 +17,7 @@ class MQTTDateTimeComponent : public mqtt::MQTTComponent {
|
|
17
17
|
*
|
18
18
|
* @param time The time entity.
|
19
19
|
*/
|
20
|
-
explicit MQTTDateTimeComponent(datetime::DateTimeEntity *
|
20
|
+
explicit MQTTDateTimeComponent(datetime::DateTimeEntity *datetime);
|
21
21
|
|
22
22
|
// ========== INTERNAL METHODS ==========
|
23
23
|
// (In most use cases you won't need these)
|
@@ -41,5 +41,5 @@ class MQTTDateTimeComponent : public mqtt::MQTTComponent {
|
|
41
41
|
} // namespace mqtt
|
42
42
|
} // namespace esphome
|
43
43
|
|
44
|
-
#endif //
|
44
|
+
#endif // USE_DATETIME_DATETIME
|
45
45
|
#endif // USE_MQTT
|
@@ -7,6 +7,7 @@ from esphome.const import (
|
|
7
7
|
CONF_ID,
|
8
8
|
CONF_MQTT_ID,
|
9
9
|
CONF_WEB_SERVER_ID,
|
10
|
+
DEVICE_CLASS_EMPTY,
|
10
11
|
DEVICE_CLASS_FIRMWARE,
|
11
12
|
)
|
12
13
|
from esphome.core import CORE, coroutine_with_priority
|
@@ -24,6 +25,7 @@ PerformAction = update_ns.class_("PerformAction", automation.Action)
|
|
24
25
|
IsAvailableCondition = update_ns.class_("IsAvailableCondition", automation.Condition)
|
25
26
|
|
26
27
|
DEVICE_CLASSES = [
|
28
|
+
DEVICE_CLASS_EMPTY,
|
27
29
|
DEVICE_CLASS_FIRMWARE,
|
28
30
|
]
|
29
31
|
|
esphome/const.py
CHANGED
@@ -5,7 +5,7 @@ esphome/codegen.py,sha256=A8O0Jr8qBILHlr7NwPPeW2DSKQ9H5d85j5fOXQw0rSQ,1835
|
|
5
5
|
esphome/config.py,sha256=wztK2UmO7-hc6HFDAi6YWtrPVy5mH0diKuqpsWp4-XA,39616
|
6
6
|
esphome/config_helpers.py,sha256=O7e8KvTpA3i5yjFORNhzPSsVSHDyKmF965b09MHyDWc,3118
|
7
7
|
esphome/config_validation.py,sha256=G79LGVIh5BdpGkzuehkm7Db_llpbC2of4dKqZEpHc3A,64838
|
8
|
-
esphome/const.py,sha256=
|
8
|
+
esphome/const.py,sha256=lKnPOnV3561QZ-Jlt1X1_Sl63hPRkF8ToFS3HHb-cMw,38843
|
9
9
|
esphome/coroutine.py,sha256=IG2kC92OrenyiRm7Qo9uC-4qU4b4-Lmj0TkMIjRG2RY,9344
|
10
10
|
esphome/cpp_generator.py,sha256=hW2EfubUiildhKXZIdV8Dr3Q9TM5oHybFwiTo5-vEUE,31203
|
11
11
|
esphome/cpp_helpers.py,sha256=KadRBBoo4QRT-VwdWFtvxv_FYjqhZTkBhfMX-JhEMwg,4803
|
@@ -1131,8 +1131,8 @@ esphome/components/ili9341/display.py,sha256=yyXXryJ1U43PA7QI-NpWacSGWCRwKmfawZq
|
|
1131
1131
|
esphome/components/ili9xxx/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1132
1132
|
esphome/components/ili9xxx/display.py,sha256=K3axeV9zdCeExJ7aTswC9xQReyv7Hi2jw6WB1q3OYps,10273
|
1133
1133
|
esphome/components/ili9xxx/ili9xxx_defines.h,sha256=KnlWxCoFgk7LczhpEMgMAoUsS6M_s6ovOlIJFicj_X4,3728
|
1134
|
-
esphome/components/ili9xxx/ili9xxx_display.cpp,sha256=
|
1135
|
-
esphome/components/ili9xxx/ili9xxx_display.h,sha256=
|
1134
|
+
esphome/components/ili9xxx/ili9xxx_display.cpp,sha256=MzI9kpozFS0vNSU8QunaDJY7scmq47NSugn-s2BDjJc,15807
|
1135
|
+
esphome/components/ili9xxx/ili9xxx_display.h,sha256=VwYT-mxO46ksdBMoVecpZziKixhYz5eSrICRqOaWvkI,8877
|
1136
1136
|
esphome/components/ili9xxx/ili9xxx_init.h,sha256=DoEE9Rx3HSDFqt7xvs5Url-HFbFe6WflsQfVYMSKLy8,17673
|
1137
1137
|
esphome/components/image/__init__.py,sha256=-gfMixVYJ50LPrEbqXx4aKBlV9-YT0G36kSfViE5lzQ,12395
|
1138
1138
|
esphome/components/image/image.cpp,sha256=6qYd_to3vjlOJa828dWeHCYftf3fv0LFrIp18zimYUM,5054
|
@@ -1643,8 +1643,8 @@ esphome/components/mqtt/mqtt_cover.cpp,sha256=kDf98Hn_FYCr4nS223FYDstatDssajQY2l
|
|
1643
1643
|
esphome/components/mqtt/mqtt_cover.h,sha256=WmJeDOrPNAqLrIPSDykjhs11fQEUo12VXQtjM33Z9z0,913
|
1644
1644
|
esphome/components/mqtt/mqtt_date.cpp,sha256=WRgoTsVhLBmjQ0MpG0-ibnglUh0uGTUQWpx_QQDHFhA,1901
|
1645
1645
|
esphome/components/mqtt/mqtt_date.h,sha256=wy4rIx2iU0NPa-ailgHwIOhV2tV_TN5VY8KEUcY0LRQ,1069
|
1646
|
-
esphome/components/mqtt/mqtt_datetime.cpp,sha256=
|
1647
|
-
esphome/components/mqtt/mqtt_datetime.h,sha256=
|
1646
|
+
esphome/components/mqtt/mqtt_datetime.cpp,sha256=AFWGpk6h5r-s77agi3Dg-L7l2nR73jX_bJFLXEEV_qw,2662
|
1647
|
+
esphome/components/mqtt/mqtt_datetime.h,sha256=SaINbN9GYo2kKxTP7zL-0VsUSK1K9mHJ6Q0MD9_zEE0,1152
|
1648
1648
|
esphome/components/mqtt/mqtt_event.cpp,sha256=qHVQT06N4mB-fnecTWwipbXO0RHq14m8w2jiPE3DoWU,1653
|
1649
1649
|
esphome/components/mqtt/mqtt_event.h,sha256=Jwr33Mv9ZPRE5dobyh4N-QEbB8jCGoZyR2-SFZBeNKE,828
|
1650
1650
|
esphome/components/mqtt/mqtt_fan.cpp,sha256=SQEQ0_wUEihMGCcU1i_FumienvzkuNhw7Y1h7lhJLrE,6276
|
@@ -2805,7 +2805,7 @@ esphome/components/ultrasonic/__init__.py,sha256=PTP_5q_K_2dNnUdkolkVd5komlEbJdS
|
|
2805
2805
|
esphome/components/ultrasonic/sensor.py,sha256=SJADHJ0fdAUXD79cRiGGcsWbrt2tyHICYp3TIiRrqOs,1630
|
2806
2806
|
esphome/components/ultrasonic/ultrasonic_sensor.cpp,sha256=b6rXmtLiXxWcD3O-Hu14rbOTImS6YMnpKU4gOXBhtMo,2359
|
2807
2807
|
esphome/components/ultrasonic/ultrasonic_sensor.h,sha256=Xf0Fn8sVX-DdClbrL45Koo9OX5JMIwzpKkhOLLMVmlw,1389
|
2808
|
-
esphome/components/update/__init__.py,sha256=
|
2808
|
+
esphome/components/update/__init__.py,sha256=ZbU4ysm2ItCd4acYTozkWXkcB2ggOjRcVHwSbsy7iL4,3367
|
2809
2809
|
esphome/components/update/update_entity.cpp,sha256=AyFcNZG1iGE6UzcANzaP-aOCLhKvK69_HRMSgiR9gSk,214
|
2810
2810
|
esphome/components/update/update_entity.h,sha256=rPBBG3_bndHXtrW6zZwwinmeEo8LVdsqvplAD8MbQqM,1151
|
2811
2811
|
esphome/components/uponor_smatrix/__init__.py,sha256=8GvLYw4MOoXfcys_6D_JRIyRY0fGmzDczSfKvuXipC8,2307
|
@@ -3112,9 +3112,9 @@ esphome/dashboard/util/itertools.py,sha256=8eLrWEWmICLtXNxkKdYPQV0c_N4GEz8m9Npnb
|
|
3112
3112
|
esphome/dashboard/util/password.py,sha256=cQz3b9B-ijTe7zS6BeCW0hc3pWv6JjC78jmnycYYAh8,321
|
3113
3113
|
esphome/dashboard/util/subprocess.py,sha256=T8EW6dbU4LPd2DG1dRrdh8li71tt6J1isn411poMhkk,1022
|
3114
3114
|
esphome/dashboard/util/text.py,sha256=ENDnfN4O0NdA3CKVJjQYabFbwbrsIhVKrAMQe53qYu4,534
|
3115
|
-
esphome-2024.6.
|
3116
|
-
esphome-2024.6.
|
3117
|
-
esphome-2024.6.
|
3118
|
-
esphome-2024.6.
|
3119
|
-
esphome-2024.6.
|
3120
|
-
esphome-2024.6.
|
3115
|
+
esphome-2024.6.0b3.dist-info/LICENSE,sha256=HzEjkBInJe44L4WvAOPfhPJJDNj6YbnqFyvGWRzArGM,36664
|
3116
|
+
esphome-2024.6.0b3.dist-info/METADATA,sha256=UZWPJoQLoP3E3QCJ5iNOmcJPXclDJpILoq3_-Gw1kUM,3265
|
3117
|
+
esphome-2024.6.0b3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
3118
|
+
esphome-2024.6.0b3.dist-info/entry_points.txt,sha256=mIxVNuWtbYzeEcaWCl-AQ-97aBOWbnYBAK8nbF6P4M0,50
|
3119
|
+
esphome-2024.6.0b3.dist-info/top_level.txt,sha256=0GSXEW3cnITpgG3qnsSMz0qoqJHAFyfw7Y8MVtEf1Yk,8
|
3120
|
+
esphome-2024.6.0b3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|