mirror of
https://github.com/esphome/esphome.git
synced 2025-09-16 18:22:22 +01:00
Cleanup deprecated EntityBase::hash_base() (#3525)
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
This commit is contained in:
@@ -126,7 +126,6 @@ void Sensor::internal_send_state_to_frontend(float state) {
|
||||
this->callback_.call(state);
|
||||
}
|
||||
bool Sensor::has_state() const { return this->has_state_; }
|
||||
uint32_t Sensor::hash_base() { return 2455723294UL; }
|
||||
|
||||
} // namespace sensor
|
||||
} // namespace esphome
|
||||
|
@@ -174,8 +174,6 @@ class Sensor : public EntityBase {
|
||||
*/
|
||||
virtual StateClass state_class(); // NOLINT
|
||||
|
||||
uint32_t hash_base() override;
|
||||
|
||||
CallbackManager<void(float)> raw_callback_; ///< Storage for raw state callbacks.
|
||||
CallbackManager<void(float)> callback_; ///< Storage for filtered state callbacks.
|
||||
|
||||
|
Reference in New Issue
Block a user