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:
1 parent
3895979e39
commit
23645da74c
4 files changed
+235
-103
No files matched your search
@@ -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