mirror of
https://github.com/esphome/esphome.git
synced 2025-09-17 18:52:19 +01:00
Add support for doing update entity refresh/check via API. (#7190)
This commit is contained in:
@@ -33,8 +33,8 @@ class UpdateEntity : public EntityBase, public EntityBase_DeviceClass {
|
||||
void publish_state();
|
||||
|
||||
void perform() { this->perform(false); }
|
||||
|
||||
virtual void perform(bool force) = 0;
|
||||
virtual void check() = 0;
|
||||
|
||||
const UpdateInfo &update_info = update_info_;
|
||||
const UpdateState &state = state_;
|
||||
|
Reference in New Issue
Block a user