Allow entities to be disabled by default in HA (#2113)
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
1 parent
c038cf27a7
commit
93796491af
20 files changed
+224
-13
No files matched your search
@@ -187,4 +187,7 @@ void Nameable::calc_object_id_() {
|
||||
}
|
||||
uint32_t Nameable::get_object_id_hash() { return this->object_id_hash_; }
|
||||
|
||||
bool Nameable::is_disabled_by_default() const { return this->disabled_by_default_; }
|
||||
void Nameable::set_disabled_by_default(bool disabled_by_default) { this->disabled_by_default_ = disabled_by_default; }
|
||||
|
||||
} // namespace esphome
|
||||
Reference in new issue
Block a user