remove
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user