mirror of
https://github.com/esphome/esphome.git
synced 2024-11-08 09:40:53 +01:00
commit
ae9b247f47
@ -7,7 +7,6 @@ from esphome.core import coroutine
|
||||
|
||||
CODEOWNERS = ["@glmnet"]
|
||||
AUTO_LOAD = ["binary_sensor"]
|
||||
MULTI_CONF = True
|
||||
|
||||
CONF_RC522_ID = "rc522_id"
|
||||
|
||||
|
@ -6,7 +6,7 @@ from esphome.const import CONF_ID
|
||||
CODEOWNERS = ["@glmnet"]
|
||||
DEPENDENCIES = ["i2c"]
|
||||
AUTO_LOAD = ["rc522"]
|
||||
|
||||
MULTI_CONF = True
|
||||
|
||||
rc522_i2c_ns = cg.esphome_ns.namespace("rc522_i2c")
|
||||
RC522I2C = rc522_i2c_ns.class_("RC522I2C", rc522.RC522, i2c.I2CDevice)
|
||||
|
@ -6,6 +6,7 @@ from esphome.const import CONF_ID
|
||||
CODEOWNERS = ["@glmnet"]
|
||||
DEPENDENCIES = ["spi"]
|
||||
AUTO_LOAD = ["rc522"]
|
||||
MULTI_CONF = True
|
||||
|
||||
rc522_spi_ns = cg.esphome_ns.namespace("rc522_spi")
|
||||
RC522Spi = rc522_spi_ns.class_("RC522Spi", rc522.RC522, spi.SPIDevice)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
MAJOR_VERSION = 1
|
||||
MINOR_VERSION = 18
|
||||
PATCH_VERSION = "0b3"
|
||||
PATCH_VERSION = "0b4"
|
||||
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}"
|
||||
__version__ = f"{__short_version__}.{PATCH_VERSION}"
|
||||
|
||||
|
@ -1978,10 +1978,15 @@ rc522_spi:
|
||||
ESP_LOGD("main", "Found tag %s", x.c_str());
|
||||
|
||||
rc522_i2c:
|
||||
update_interval: 1s
|
||||
on_tag:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "Found tag %s", x.c_str());
|
||||
- update_interval: 1s
|
||||
on_tag:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "Found tag %s", x.c_str());
|
||||
|
||||
- update_interval: 1s
|
||||
on_tag:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "Found tag %s", x.c_str());
|
||||
|
||||
gps:
|
||||
uart_id: uart0
|
||||
|
Loading…
Reference in New Issue
Block a user