mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
fix host component test
This commit is contained in:
parent
80d543e83e
commit
aedba0898f
2 changed files with 1 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue