1
0
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:
Oliver Kleinecke
2025-02-14 14:04:40 +01:00
parent 2068234c90
commit c7db36b503

View File

@@ -1,6 +1,7 @@
#pragma once #pragma once
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include <list>
namespace esphome { namespace esphome {
namespace dynamic_lamp { namespace dynamic_lamp {
@@ -19,7 +20,7 @@ enum LinkedOutputModeIdx : uint8_t {
struct LinkedOutput { struct LinkedOutput {
bool active = false; bool active = false;
char* output_id = ""; std::string output_id = "";
uint8_t mode = 0; uint8_t mode = 0;
optional<float> min_value; optional<float> min_value;
optional<float> max_value; optional<float> max_value;