Enforce Pulse client (#1572)

This commit is contained in:
Pascal Vizeli 2020-03-05 15:54:23 +01:00 committed by GitHub
parent 89148f8fff
commit 02aed9c084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -649,6 +649,5 @@ class HomeAssistant(JsonConfig, CoreSysAttributes):
config_file.write(pulse_config)
except OSError as err:
_LOGGER.error("Home Assistant can't write pulse/client.config: %s", err)
raise HomeAssistantError()
_LOGGER.debug("Home Assistant write pulse/client.config: %s", self.path_pulse)
else:
_LOGGER.info("Update pulse/client.config: %s", self.path_pulse)