mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	fix: include necessary headers in dynamic_lamp.cpp and dynamic_lamp.h for improved functionality
This commit is contained in:
		| @@ -5,8 +5,7 @@ | |||||||
| #include <cstring> | #include <cstring> | ||||||
| #include <string_view> | #include <string_view> | ||||||
| #include <vector> | #include <vector> | ||||||
| #include "main.h" | #include <array> | ||||||
|  |  | ||||||
| namespace esphome { | namespace esphome { | ||||||
| namespace dynamic_lamp { | namespace dynamic_lamp { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,8 @@ | |||||||
| #pragma once | #pragma once | ||||||
|  |  | ||||||
| #include "esphome/core/component.h" | #include "esphome/core/component.h" | ||||||
|  | #include "esphome/components/output/float_output.h" | ||||||
|  | #include "esphome/main.h" | ||||||
|  |  | ||||||
| namespace esphome { | namespace esphome { | ||||||
| namespace dynamic_lamp { | namespace dynamic_lamp { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user