esphome/esphome/components/rc522_spi/binary_sensor.py
Guillermo Ruffino fbc1b3e316
Add rc522 i2c (#1432)
* split to spi and i2c

* fix binary_sensor

* i2c comms ready

* fix rc522_spi binary sensor compat

* lint

* lint

* add test and codeowners

* fix refactor
2021-01-12 10:13:53 -03:00

9 lines
215 B
Python

import esphome.components.rc522.binary_sensor as rc522_binary_sensor
DEPENDENCIES = ['rc522']
CONFIG_SCHEMA = rc522_binary_sensor.CONFIG_SCHEMA
def to_code(config):
yield rc522_binary_sensor.to_code(config)