소스 검색

Fix compatibility with ESPHome 2026.3

tube0013 4 달 전
부모
커밋
7a479a0d07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/stream_server/__init__.py

+ 1 - 1
components/stream_server/__init__.py

@@ -47,5 +47,5 @@ async def to_code(config):
     await uart.register_uart_device(var, config)
 
     esphome_version = parse_esphome_version()
-    if esphome_version >= (2025, 12, 0):
+    if (2025, 12, 0) <= esphome_version < (2026, 3, 0):
         uart.request_wake_loop_on_rx()