mirror of
https://github.com/esphome/esphome.git
synced 2025-01-08 22:01:44 +01:00
commit
d924702825
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ CONFIG_SCHEMA = (
|
||||||
|
|
||||||
|
|
||||||
def auto_data_rate(config):
|
def auto_data_rate(config):
|
||||||
interval_sec = config[CONF_UPDATE_INTERVAL].seconds
|
interval_sec = config[CONF_UPDATE_INTERVAL].total_milliseconds / 1000
|
||||||
interval_hz = 1.0 / interval_sec
|
interval_hz = 1.0 / interval_sec
|
||||||
for datarate in sorted(QMC5883LDatarates.keys()):
|
for datarate in sorted(QMC5883LDatarates.keys()):
|
||||||
if float(datarate) >= interval_hz:
|
if float(datarate) >= interval_hz:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Constants used by esphome."""
|
"""Constants used by esphome."""
|
||||||
|
|
||||||
__version__ = "2022.11.0b4"
|
__version__ = "2022.11.0b5"
|
||||||
|
|
||||||
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
ALLOWED_NAME_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-_"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue