14 class RDM6300BinarySensor;
29 std::vector<RDM6300BinarySensor *>
cards_;
39 if (this->id_ ==
id) {
40 this->publish_state(
true);
42 this->publish_state(
false);
54 void process(uint32_t uid) { this->trigger(uid); }
const float DATA
For components that import data from directly connected sensors like DHT.
void process(uint32_t uid)
void register_trigger(RDM6300Trigger *trig)
T id(T value)
Helper function to make id(var) known from lambdas work in custom components.
float get_setup_priority() const override
std::vector< RDM6300Trigger * > triggers_
void IRAM_ATTR HOT yield()
Implementation of SPI Controller mode.
std::vector< RDM6300BinarySensor * > cards_
bool process(uint32_t id)
void register_card(RDM6300BinarySensor *obj)