fix host component test

This commit is contained in:
Tomasz Duda 2024-07-12 20:01:42 +02:00
parent 80d543e83e
commit aedba0898f
2 changed files with 1 additions and 2 deletions

View file

@ -271,7 +271,7 @@ def validate_tz(value: str) -> str:
TIME_SCHEMA = cv.Schema(
{
cv.Optional(CONF_TIMEZONE, default=detect_tz): cv.All(
cv.only_with_arduino_or_esp_idf,
cv.only_with_framework(["arduino", "esp-idf", "host"]),
validate_tz,
),
cv.Optional(CONF_ON_TIME): automation.validate_automation(

View file

@ -609,7 +609,6 @@ only_on_nrf52 = only_on(PLATFORM_NRF52)
only_with_arduino = only_with_framework("arduino")
only_with_esp_idf = only_with_framework("esp-idf")
only_with_zephyr = only_with_framework("zephyr")
only_with_arduino_or_esp_idf = only_with_framework(["arduino", "esp-idf"])
# Adapted from: