mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 18:18:27 +02:00
Refactor fan platform to resemble climate/cover platforms (#2848)
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl> Co-authored-by: rob-deutsch <robzyb+altgithub@gmail.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -44,7 +44,7 @@ class Controller {
|
||||
virtual void on_binary_sensor_update(binary_sensor::BinarySensor *obj, bool state){};
|
||||
#endif
|
||||
#ifdef USE_FAN
|
||||
virtual void on_fan_update(fan::FanState *obj){};
|
||||
virtual void on_fan_update(fan::Fan *obj){};
|
||||
#endif
|
||||
#ifdef USE_LIGHT
|
||||
virtual void on_light_update(light::LightState *obj){};
|
||||
|
||||
Reference in New Issue
Block a user