1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-09 23:02:23 +01:00

fix: remove unnecessary includes in dynamic_lamp.h for cleaner code

This commit is contained in:
Oliver Kleinecke
2025-02-14 18:05:39 +01:00
parent 55755f4849
commit 12181dd75c
2 changed files with 1 additions and 4 deletions

View File

@@ -126,8 +126,7 @@ uint8_t DynamicLamp::add_lamp() {
void DynamicLamp::add_lamp_output_(uint8_t lamp_number, LinkedOutput output) {
this->active_lamps_[lamp_number].used_outputs[output.output_index] = true;
float output_level = esphome::id(output.output_id);
ESP_LOGV(TAG, "Added output %s with state %f to lamp %" PRIu8 "", output.output_id.c_str(), output_level, lamp_number);
ESP_LOGV(TAG, "Added output %s to lamp %" PRIu8 "", output.output_id.c_str(), lamp_number);
}
std::array<bool, 16> DynamicLamp::get_lamp_outputs_(uint8_t lamp_number) {

View File

@@ -1,8 +1,6 @@
#pragma once
#include "esphome/core/component.h"
#include "esphome/components/output/float_output.h"
#include "esphome/main.h"
namespace esphome {
namespace dynamic_lamp {