This commit is contained in:
J. Nick Koston
2025-05-13 22:03:17 -05:00
parent 0edfa4746a
commit 3987b98044
5 changed files with 0 additions and 10 deletions

View File

@@ -163,8 +163,6 @@ class Cover : public EntityBase, public EntityBase_DeviceClass {
/// Helper method to check if the cover is fully closed. Equivalent to comparing .position against 0.0
bool is_fully_closed() const;
// Get the component type for this entity
protected:
friend CoverCall;

View File

@@ -132,8 +132,6 @@ class Fan : public EntityBase {
/// Set the restore mode of this fan.
void set_restore_mode(FanRestoreMode restore_mode) { this->restore_mode_ = restore_mode; }
// Get the component type for this entity
protected:
friend FanCall;

View File

@@ -145,8 +145,6 @@ class Sensor : public EntityBase, public EntityBase_DeviceClass, public EntityBa
*/
std::string unique_id() override;
// Get the component type for this entity
void internal_send_state_to_frontend(float state);
protected:

View File

@@ -112,8 +112,6 @@ class Switch : public EntityBase, public EntityBase_DeviceClass {
void set_restore_mode(SwitchRestoreMode restore_mode) { this->restore_mode = restore_mode; }
// Get the component type for this entity
protected:
/** Write the given state to hardware. You should implement this
* abstract method if you want to create your own switch.

View File

@@ -71,8 +71,6 @@ class TextSensor : public EntityBase, public EntityBase_DeviceClass {
void internal_send_state_to_frontend(const std::string &state);
// Get the component type for this entity
protected:
CallbackManager<void(std::string)> raw_callback_; ///< Storage for raw state callbacks.
CallbackManager<void(std::string)> callback_; ///< Storage for filtered state callbacks.