Fix - Tuya Fan - Allow integer speed datapoint (#5948)

Co-authored-by: Cram42 <5396871+cram42@users.noreply.github.com>
This commit is contained in:
Grant Le Roux
2023-12-18 07:28:48 +08:00
committed by Jesse Hills
parent 917e0f93ed
commit 2309f15ce0
2 changed files with 18 additions and 6 deletions
+1
View File
@@ -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