mirror of
https://github.com/esphome/esphome.git
synced 2025-10-22 19:53:46 +01:00
Support SDS011 component. (#467)
* Support SDS011 component. * improve if condition * Check update interval is multiple of minute * do not allow update intervals longer than 30 min * fix sensor schema name * remove query_mode * Warn if rx_only mode used together with update interval * Allow update intervals below 1min Messed that up before, as the docs say update intervals below 1min are allowed * Use update interval in minutes * use set_update_interval_min() to set update interval
This commit is contained in:
@@ -420,6 +420,7 @@ CONF_SEGMENTS = 'segments'
|
||||
CONF_MIN_POWER = 'min_power'
|
||||
CONF_MIN_VALUE = 'min_value'
|
||||
CONF_MAX_VALUE = 'max_value'
|
||||
CONF_RX_ONLY = 'rx_only'
|
||||
|
||||
|
||||
ALLOWED_NAME_CHARS = u'abcdefghijklmnopqrstuvwxyz0123456789_'
|
||||
|
Reference in New Issue
Block a user