esphome 2025.5.0b4__py3-none-any.whl → 2025.5.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.
@@ -14,11 +14,8 @@ namespace esphome {
14
14
  namespace at581x {
15
15
 
16
16
  class AT581XComponent : public Component, public i2c::I2CDevice {
17
- #ifdef USE_SWITCH
18
- protected:
19
- switch_::Switch *rf_power_switch_{nullptr};
20
-
21
17
  public:
18
+ #ifdef USE_SWITCH
22
19
  void set_rf_power_switch(switch_::Switch *s) {
23
20
  this->rf_power_switch_ = s;
24
21
  s->turn_on();
@@ -48,6 +45,9 @@ class AT581XComponent : public Component, public i2c::I2CDevice {
48
45
  bool i2c_read_reg(uint8_t addr, uint8_t &data);
49
46
 
50
47
  protected:
48
+ #ifdef USE_SWITCH
49
+ switch_::Switch *rf_power_switch_{nullptr};
50
+ #endif
51
51
  int freq_;
52
52
  int self_check_time_ms_; /*!< Power-on self-test time, range: 0 ~ 65536 ms */
53
53
  int protect_time_ms_; /*!< Protection time, recommended 1000 ms */
@@ -34,13 +34,15 @@ class DebugComponent : public PollingComponent {
34
34
  #endif
35
35
  void set_loop_time_sensor(sensor::Sensor *loop_time_sensor) { loop_time_sensor_ = loop_time_sensor; }
36
36
  #ifdef USE_ESP32
37
- void on_shutdown() override;
38
37
  void set_psram_sensor(sensor::Sensor *psram_sensor) { this->psram_sensor_ = psram_sensor; }
39
38
  #endif // USE_ESP32
40
39
  void set_cpu_frequency_sensor(sensor::Sensor *cpu_frequency_sensor) {
41
40
  this->cpu_frequency_sensor_ = cpu_frequency_sensor;
42
41
  }
43
42
  #endif // USE_SENSOR
43
+ #ifdef USE_ESP32
44
+ void on_shutdown() override;
45
+ #endif // USE_ESP32
44
46
  protected:
45
47
  uint32_t free_heap_{};
46
48
 
esphome/const.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """Constants used by esphome."""
2
2
 
3
- __version__ = "2025.5.0b4"
3
+ __version__ = "2025.5.0b5"
4
4
 
5
5
  ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
6
6
  VALID_SUBSTITUTIONS_CHARACTERS = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: esphome
3
- Version: 2025.5.0b4
3
+ Version: 2025.5.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@openhomefoundation.org>
6
6
  License: MIT
@@ -5,7 +5,7 @@ esphome/codegen.py,sha256=GePHUM7xdXb_Pil59SHVsXg2F4VBPgkH-Fz2PDX8Z54,1873
5
5
  esphome/config.py,sha256=-SoMrYNlKL85sYK_t_UQXKEKm-xrZYhyRqwiUpBXyXE,39896
6
6
  esphome/config_helpers.py,sha256=MKf_wzO35nn41FvigXE0iYKDslPgL2ruf8R-EPtTT2I,3256
7
7
  esphome/config_validation.py,sha256=vEDw3u5jfyZbELimFLjTK5YuupBwKI8Np8HUo7oqpoo,61434
8
- esphome/const.py,sha256=kPdcNspLbl1NaJ-2tnYNeEz3aXwgFByvEHIFMiiZkTU,41482
8
+ esphome/const.py,sha256=BlvnBmXMIEA1lzqd46Wpu7ReCvoB9_6VyS6wJSaxquI,41482
9
9
  esphome/coroutine.py,sha256=j_14z8dIIzIBeuNO30D4c1RJvMMt1xZFZ58Evd-EvJA,9344
10
10
  esphome/cpp_generator.py,sha256=39sLZ_f7UKrTOKKG5PVNQ6ucSRJFP0FYEhDN82DCO6Y,31377
11
11
  esphome/cpp_helpers.py,sha256=6C2vNbOIhZKi43xRVlk5hp9GfshfBn-rc5D_ZFUEYaE,4801
@@ -229,7 +229,7 @@ esphome/components/as7341/sensor.py,sha256=1q7U8Oz2k2fAPmVtW4nM-WyKZt-8KADtOPFIZ
229
229
  esphome/components/async_tcp/__init__.py,sha256=2hv97Lpkplf7iW5Zgmo2uFpgs946v3CenovtM9OWnYU,849
230
230
  esphome/components/at581x/__init__.py,sha256=WkHr2JdFV5qZc4y7FzdQdEELkWBFD2oL7UrcN97nXDw,6702
231
231
  esphome/components/at581x/at581x.cpp,sha256=Od3tHL_KsQ0i_H5b3SycgPaVgESKT2qdUgkOtu7RG2I,8084
232
- esphome/components/at581x/at581x.h,sha256=LiG9nNaoizEaSR5rLAqFkaeuc2Seb3gGBp5YuYDUDW0,2124
232
+ esphome/components/at581x/at581x.h,sha256=soZ_yflkG4HX7t9vh9hA3kWjzBBXwzXn9TiMmZ7ThSs,2136
233
233
  esphome/components/at581x/automation.h,sha256=ZVqODmZT62z87DgWU_WTdFrDJ7Ue_wYutzk5_0Jp1Q8,2307
234
234
  esphome/components/at581x/switch/__init__.py,sha256=vK2KedexGb5VuV4WmWdG_Y6hWiDD2UabBTkmzmmGo6M,788
235
235
  esphome/components/at581x/switch/rf_switch.cpp,sha256=TMC_ZOieUr5G0W12k4iJBh3NQAHUHCAoCwKBdU5c-6w,222
@@ -645,7 +645,7 @@ esphome/components/datetime/time_entity.cpp,sha256=k9ZEtOs4SIO3GCwc-SmKExwYiiyDD
645
645
  esphome/components/datetime/time_entity.h,sha256=rNN9V8UH4ervs03lsuvR233dD13LYceAy597vXbURcY,2915
646
646
  esphome/components/debug/__init__.py,sha256=llo39yz0GH4Lo10IIVJfwna6okFO4g4-L0D1dStlK5U,1463
647
647
  esphome/components/debug/debug_component.cpp,sha256=KHrSIDf_fldO_UVdU1KbQNAmOMFc5Mp6GLki5nmvfp0,3130
648
- esphome/components/debug/debug_component.h,sha256=BeVzxZ8tVXiao2dJrfGW67FfYc5QtYMmkxdfnWPk-4E,3050
648
+ esphome/components/debug/debug_component.h,sha256=rhAbHVHngj9rtH33UDJ8Yg1CkxyS8iHlRAkDcvXqBcQ,3088
649
649
  esphome/components/debug/debug_esp32.cpp,sha256=X3-yqAeneoLn5feAgnjxLhtFgm70QdTEY9QL7d-YhjY,7004
650
650
  esphome/components/debug/debug_esp8266.cpp,sha256=eTj_cCcsHgG5YgtryxZFmM1bN2mHRXLEC1qPkfBDdDY,3145
651
651
  esphome/components/debug/debug_host.cpp,sha256=DeAkj-QT8OPcQykp1Cl98YtnJ28kVd3TDR4LXgs1x-o,396
@@ -3541,9 +3541,9 @@ esphome/dashboard/util/itertools.py,sha256=8eLrWEWmICLtXNxkKdYPQV0c_N4GEz8m9Npnb
3541
3541
  esphome/dashboard/util/password.py,sha256=cQz3b9B-ijTe7zS6BeCW0hc3pWv6JjC78jmnycYYAh8,321
3542
3542
  esphome/dashboard/util/subprocess.py,sha256=T8EW6dbU4LPd2DG1dRrdh8li71tt6J1isn411poMhkk,1022
3543
3543
  esphome/dashboard/util/text.py,sha256=ENDnfN4O0NdA3CKVJjQYabFbwbrsIhVKrAMQe53qYu4,534
3544
- esphome-2025.5.0b4.dist-info/licenses/LICENSE,sha256=HzEjkBInJe44L4WvAOPfhPJJDNj6YbnqFyvGWRzArGM,36664
3545
- esphome-2025.5.0b4.dist-info/METADATA,sha256=UMwJ4UVDsWSAuzuqSi9Hljo05HV3uORsu3gI67aXwDI,3626
3546
- esphome-2025.5.0b4.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
3547
- esphome-2025.5.0b4.dist-info/entry_points.txt,sha256=mIxVNuWtbYzeEcaWCl-AQ-97aBOWbnYBAK8nbF6P4M0,50
3548
- esphome-2025.5.0b4.dist-info/top_level.txt,sha256=0GSXEW3cnITpgG3qnsSMz0qoqJHAFyfw7Y8MVtEf1Yk,8
3549
- esphome-2025.5.0b4.dist-info/RECORD,,
3544
+ esphome-2025.5.0b5.dist-info/licenses/LICENSE,sha256=HzEjkBInJe44L4WvAOPfhPJJDNj6YbnqFyvGWRzArGM,36664
3545
+ esphome-2025.5.0b5.dist-info/METADATA,sha256=iyV0mhVMGKLqGwmAYKmWkmc6LwS2KAtqWwZff9rkOgU,3626
3546
+ esphome-2025.5.0b5.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
3547
+ esphome-2025.5.0b5.dist-info/entry_points.txt,sha256=mIxVNuWtbYzeEcaWCl-AQ-97aBOWbnYBAK8nbF6P4M0,50
3548
+ esphome-2025.5.0b5.dist-info/top_level.txt,sha256=0GSXEW3cnITpgG3qnsSMz0qoqJHAFyfw7Y8MVtEf1Yk,8
3549
+ esphome-2025.5.0b5.dist-info/RECORD,,