1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-01 02:31:00 +00:00
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
2019-04-22 21:56:30 +02:00
2018-09-25 10:30:45 +02:00
2019-05-08 15:37:18 +02:00
2019-05-11 12:21:27 +02:00
2019-05-28 12:01:32 +02:00
2019-05-01 20:37:55 +02:00
2019-05-12 23:04:36 +02:00
2019-05-13 13:11:02 +02:00
2019-04-22 21:56:30 +02:00
2019-02-14 13:49:22 +01:00
2019-05-28 12:01:32 +02:00
2019-03-16 22:24:26 +01:00
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.

Description
No description provided
Readme Multiple Licenses 299 MiB
Languages
C++ 70.1%
Python 29.6%
C 0.1%