mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	fix host component test
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user