ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Go to file
Michiel van Turnhout d7a8c50c98
Binary sensor map implementation (#551)
* 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>
2019-05-28 21:37:27 +02:00
.github Cleanup dashboard JS (#491) 2019-04-22 21:56:30 +02:00
docker Update gitlab CI script, add cpp lint 2019-05-28 10:24:13 +02:00
esphome Binary sensor map implementation (#551) 2019-05-28 21:37:27 +02:00
script Update gitlab CI script, add cpp lint 2019-05-28 10:24:13 +02:00
tests Binary sensor map implementation (#551) 2019-05-28 21:37:27 +02:00
.clang-format 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
.clang-tidy 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
.dockerignore Fix docker build 2018-09-25 10:30:45 +02:00
.editorconfig Create .editorconfig (#524) 2019-05-08 15:37:18 +02:00
.gitignore Update .gitignore 2019-05-11 12:21:27 +02:00
.gitlab-ci.yml Fix gitlab 2019-05-28 12:01:32 +02:00
.gitpod.yml Create .gitpod.yml (#508) 2019-05-01 20:37:55 +02:00
.travis.yml Updates for 1.13 (#546) 2019-05-12 23:04:36 +02:00
CODE_OF_CONDUCT.md Add Code of Conduct (Contributor Covenant) (#168) 2018-10-12 11:26:26 +02:00
CONTRIBUTING.md Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
LICENSE 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
MANIFEST.in 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
platformio.ini GPS time source (#543) 2019-05-13 13:11:02 +02:00
pylintrc Cleanup dashboard JS (#491) 2019-04-22 21:56:30 +02:00
README.md Update README.md 2019-02-14 13:49:22 +01:00
requirements_test.txt Fix gitlab 2019-05-28 12:01:32 +02:00
requirements.txt 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
setup.cfg Changes for 1.12 (#482) 2019-03-16 22:24:26 +01:00
setup.py Hass.io Ingress (#519) 2019-04-24 17:08:05 +02:00

ESPHome Build Status Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.