button
This commit is contained in:
parent
df01b002cf
commit
13f85e33e1
|
@ -75,7 +75,8 @@ namespace ratgdo {
|
||||||
ESP_LOGCONFIG(TAG, " Rolling Code Counter: %d", this->rollingCodeCounter);
|
ESP_LOGCONFIG(TAG, " Rolling Code Counter: %d", this->rollingCodeCounter);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t RATGDOComponent::readRollingCode() {
|
uint16_t RATGDOComponent::readRollingCode()
|
||||||
|
{
|
||||||
{
|
{
|
||||||
uint32_t rolling = 0;
|
uint32_t rolling = 0;
|
||||||
uint64_t fixed = 0;
|
uint64_t fixed = 0;
|
||||||
|
@ -480,7 +481,7 @@ namespace ratgdo {
|
||||||
global_preferences->sync();
|
global_preferences->sync();
|
||||||
}
|
}
|
||||||
|
|
||||||
void RATGDOComponent::register_child(RATGDOClient* obj)
|
void RATGDOComponent::register_child(RATGDOClient * obj)
|
||||||
{
|
{
|
||||||
this->children_.push_back(obj);
|
this->children_.push_back(obj);
|
||||||
obj->set_parent(this);
|
obj->set_parent(this);
|
||||||
|
@ -490,5 +491,5 @@ namespace ratgdo {
|
||||||
return static_cast<LightState>(this->lightState);
|
return static_cast<LightState>(this->lightState);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace ratgdo
|
} // namespace ratgdo
|
||||||
} // namespace esphome
|
} // namespace esphome
|
||||||
|
|
Loading…
Reference in New Issue