mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 19:22:22 +01:00
fix missing list include and wrong output_id type declaration
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "esphome/core/component.h"
|
||||
#include <list>
|
||||
|
||||
namespace esphome {
|
||||
namespace dynamic_lamp {
|
||||
@@ -19,7 +20,7 @@ enum LinkedOutputModeIdx : uint8_t {
|
||||
|
||||
struct LinkedOutput {
|
||||
bool active = false;
|
||||
char* output_id = "";
|
||||
std::string output_id = "";
|
||||
uint8_t mode = 0;
|
||||
optional<float> min_value;
|
||||
optional<float> max_value;
|
||||
|
Reference in New Issue
Block a user