mirror of
https://github.com/esphome/esphome.git
synced 2025-11-18 15:55:46 +00:00
wip
This commit is contained in:
@@ -113,8 +113,8 @@ class Fan : public EntityBase {
|
|||||||
FanDirection direction{FanDirection::FORWARD};
|
FanDirection direction{FanDirection::FORWARD};
|
||||||
// The current preset mode of the fan
|
// The current preset mode of the fan
|
||||||
// Deprecated: Use get_preset_mode() instead. Will be removed in 2026.5.0
|
// Deprecated: Use get_preset_mode() instead. Will be removed in 2026.5.0
|
||||||
std::string preset_mode {}
|
|
||||||
__attribute__((deprecated("Use get_preset_mode() instead of .preset_mode. Will be removed in 2026.5.0")));
|
__attribute__((deprecated("Use get_preset_mode() instead of .preset_mode. Will be removed in 2026.5.0")));
|
||||||
|
std::string preset_mode{};
|
||||||
|
|
||||||
FanCall turn_on();
|
FanCall turn_on();
|
||||||
FanCall turn_off();
|
FanCall turn_off();
|
||||||
|
|||||||
Reference in New Issue
Block a user