A command to mutate a fan. Each optional field is sent only when engaged.
More...
#include <fan.hpp>
A command to mutate a fan. Each optional field is sent only when engaged.
◆ direction
| std::optional<FanDirection> esphome::api::FanCommand::direction |
◆ key
| std::uint32_t esphome::api::FanCommand::key = 0 |
◆ oscillating
| std::optional<bool> esphome::api::FanCommand::oscillating |
◆ preset_mode
| std::optional<std::string> esphome::api::FanCommand::preset_mode |
◆ speed_level
| std::optional<std::int32_t> esphome::api::FanCommand::speed_level |
◆ state
| std::optional<bool> esphome::api::FanCommand::state |
The documentation for this struct was generated from the following file:
- include/esphome/api/model/entities/fan.hpp