1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-18 11:12:20 +01:00

fix missing list include and wrong output_id type declaration

This commit is contained in:
Oliver Kleinecke
2025-02-14 14:04:40 +01:00
parent 2068234c90
commit c7db36b503

View File

@@ -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;