mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 13:13:54 +01:00
d7a8c50c98
* add binary_sensor_map c code * add python file * fixed python and C++ code for new framework * renamed add_sensor to add_channel * travis * Updates - Use struct for channels_ array - heap allocation is not really necessary here. - any_active can also be written as mask != 0 - Update setup priority to DATA - Use shorter TAG (name is already long; not important) - Quotes around name - Add icon to sensor - Use new cv.typed_schema - Change CONF_CHANNEL to CONF_BINARY_SENSOR - makes it clearer that this option accepts a binary sensor (and not for example an int) - Add test Co-authored-by: Otto Winter <otto@otto-winter.com> |
||
---|---|---|
.. | ||
api | ||
components | ||
core | ||
dashboard | ||
__init__.py | ||
__main__.py | ||
automation.py | ||
codegen.py | ||
config_helpers.py | ||
config_validation.py | ||
config.py | ||
const.py | ||
core_config.py | ||
core.py | ||
cpp_generator.py | ||
cpp_helpers.py | ||
cpp_types.py | ||
espota2.py | ||
helpers.py | ||
legacy.py | ||
mqtt.py | ||
pins.py | ||
platformio_api.py | ||
py_compat.py | ||
storage_json.py | ||
symlink_ops.py | ||
util.py | ||
voluptuous_schema.py | ||
vscode.py | ||
wizard.py | ||
writer.py | ||
yaml_util.py | ||
zeroconf.py |