mirror of
https://github.com/esphome/esphome.git
synced 2026-10-05 02:21:30 +00:00
[light] Address Copilot review feedback on PR #15726
- mock_addressable_light.h: add direct <memory>/<cstdint>/<cstddef> includes - test: use asyncio.get_running_loop() instead of deprecated get_event_loop() - test: rebase timing to command-issue time (not first-nonzero) and use absolute progress for assertion 2, so late-transition check can't skew when the first nonzero sample happens to land near the assertion-1 limit
This commit is contained in:
+4
@@ -1,5 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#include "esphome/components/light/addressable_light.h"
|
||||
#include "esphome/core/component.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user