mirror of https://github.com/esphome/esphome.git
Update esphome/core/component.h
Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
parent
3ea3363f92
commit
35158c283e
|
@ -256,6 +256,11 @@ class Nameable {
|
|||
bool is_internal() const;
|
||||
void set_internal(bool internal);
|
||||
|
||||
/** Check if this object is declared to be disabled by default.
|
||||
*
|
||||
* That means that when the device gets added to Home Assistant (or other clients) it should
|
||||
* not be added to the default view by default, and a user action is necessary to manually add it.
|
||||
*/
|
||||
bool is_disabled_by_default() const;
|
||||
void set_disabled_by_default(bool disabled_by_default);
|
||||
|
||||
|
|
Loading…
Reference in New Issue