mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 14:43:51 +00:00 
			
		
		
		
	fixes
This commit is contained in:
		| @@ -148,8 +148,8 @@ async def to_code(config): | ||||
|     if config.get(CONF_ACTIONS) or config[CONF_CUSTOM_SERVICES]: | ||||
|         cg.add_define("USE_API_SERVICES") | ||||
|  | ||||
|     # Set USE_API_HOMEASSISTANT_STATES if enabled or homeassistant component is loaded | ||||
|     if config[CONF_HOMEASSISTANT_STATES] or "homeassistant" in CORE.loaded_integrations: | ||||
|     # Set USE_API_HOMEASSISTANT_STATES if enabled | ||||
|     if config[CONF_HOMEASSISTANT_STATES]: | ||||
|         cg.add_define("USE_API_HOMEASSISTANT_STATES") | ||||
|  | ||||
|     if actions := config.get(CONF_ACTIONS, []): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user