esphome: name: host-test host: api: logger: # Test fan with preset modes and speed settings fan: - platform: template name: "Test Fan with Presets" id: test_fan_presets speed_count: 5 preset_modes: - "Eco" - "Sleep" - "Turbo" has_oscillating: true has_direction: true - platform: template name: "Test Fan Simple" id: test_fan_simple speed_count: 3 has_oscillating: false has_direction: false - platform: template name: "Test Fan No Speed" id: test_fan_no_speed has_oscillating: true has_direction: false