mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
reduce
This commit is contained in:
@@ -60,6 +60,16 @@ class AlarmControlPanel : public EntityBase {
|
||||
*/
|
||||
void add_on_ready_callback(std::function<void()> &&callback);
|
||||
|
||||
/** Notify chime event listeners
|
||||
*
|
||||
*/
|
||||
void notify_chime() { this->chime_callback_.call(); }
|
||||
|
||||
/** Notify ready state change listeners
|
||||
*
|
||||
*/
|
||||
void notify_ready() { this->ready_callback_.call(); }
|
||||
|
||||
/** A numeric representation of the supported features as per HomeAssistant
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user