mirror of
https://github.com/esphome/esphome.git
synced 2025-10-04 19:03:47 +01:00
Cleanup deprecated EntityBase::hash_base() (#3525)
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
This commit is contained in:
@@ -152,7 +152,6 @@ void Fan::dump_traits_(const char *tag, const char *prefix) {
|
||||
if (this->get_traits().supports_direction())
|
||||
ESP_LOGCONFIG(tag, "%s Direction: YES", prefix);
|
||||
}
|
||||
uint32_t Fan::hash_base() { return 418001110UL; }
|
||||
|
||||
} // namespace fan
|
||||
} // namespace esphome
|
||||
|
@@ -136,7 +136,6 @@ class Fan : public EntityBase {
|
||||
void save_state_();
|
||||
|
||||
void dump_traits_(const char *tag, const char *prefix);
|
||||
uint32_t hash_base() override;
|
||||
|
||||
CallbackManager<void()> state_callback_{};
|
||||
ESPPreferenceObject rtc_;
|
||||
|
Reference in New Issue
Block a user