Remove a whole bunch of deprecated/removed stuff (#1981)
This commit is contained in:
@@ -28,7 +28,6 @@ void Sensor::publish_state(float state) {
|
||||
this->filter_list_->input(state);
|
||||
}
|
||||
}
|
||||
void Sensor::push_new_value(float state) { this->publish_state(state); }
|
||||
std::string Sensor::unit_of_measurement() { return ""; }
|
||||
std::string Sensor::icon() { return ""; }
|
||||
uint32_t Sensor::update_interval() { return 0; }
|
||||
@@ -104,9 +103,7 @@ void Sensor::clear_filters() {
|
||||
}
|
||||
this->filter_list_ = nullptr;
|
||||
}
|
||||
float Sensor::get_value() const { return this->state; }
|
||||
float Sensor::get_state() const { return this->state; }
|
||||
float Sensor::get_raw_value() const { return this->raw_state; }
|
||||
float Sensor::get_raw_state() const { return this->raw_state; }
|
||||
std::string Sensor::unique_id() { return ""; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user