From de5a67d5d9eb8d11d8c4d89be45915ec871c8492 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 11:11:00 -0500 Subject: [PATCH] binary sensor --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 7261819..c211f95 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -95,7 +95,7 @@ namespace ratgdo { void RATGDOComponent::setup() { - this->pref_ = global_preferences->make_preference(this->get_object_id_hash()); + this->pref_ = global_preferences->make_preference(734874333U); if (!this->pref_.load(&this->rollingCodeCounter)) { this->rollingCodeCounter = 0; }