mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 21:33:32 +02:00
Fix - Tuya Fan - Allow integer speed datapoint (#5948)
Co-authored-by: Cram42 <5396871+cram42@users.noreply.github.com>
This commit is contained in:
committed by
Jesse Hills
parent
917e0f93ed
commit
2309f15ce0
@@ -28,6 +28,7 @@ class TuyaFan : public Component, public fan::Fan {
|
||||
optional<uint8_t> oscillation_id_{};
|
||||
optional<uint8_t> direction_id_{};
|
||||
int speed_count_{};
|
||||
TuyaDatapointType speed_type_{};
|
||||
};
|
||||
|
||||
} // namespace tuya
|
||||
|
||||
Reference in New Issue
Block a user