mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Automation: initial state > restore state (#6911)
* Automation: initial state > restore state * Clean up code * Ensure MQTT defaults are used. * Ensure failed platforms always return None * Automation: write state to state machine after start
This commit is contained in:
@@ -253,7 +253,7 @@ def async_prepare_setup_platform(hass: core.HomeAssistant, config, domain: str,
|
||||
|
||||
if not dep_success:
|
||||
log_error('Could not setup all dependencies.')
|
||||
return False
|
||||
return None
|
||||
|
||||
if not hass.config.skip_pip and hasattr(platform, 'REQUIREMENTS'):
|
||||
req_success = yield from _async_process_requirements(
|
||||
|
||||
Reference in New Issue
Block a user