Files
esphome-dev/esphome
Michiel van Turnhout 9d26c16471 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 20:41:10 +02:00
..
2019-03-16 22:24:26 +01:00
2019-05-15 14:41:11 +02:00
2019-05-12 23:04:36 +02:00
2019-05-26 10:31:29 +02:00
2019-05-21 12:23:38 +02:00
2019-05-12 23:04:36 +02:00
2019-05-21 12:23:38 +02:00
2019-05-11 12:31:00 +02:00
2019-05-16 11:26:33 +02:00
2019-04-22 21:56:30 +02:00
2019-02-15 10:19:18 +01:00
2019-02-13 16:54:02 +01:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-04-22 21:56:30 +02:00
2019-05-28 12:11:32 +02:00
2019-04-22 22:14:48 +02:00