mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-10 11:29:51 +00:00
Disable diagnostic on dev/unsupported (#3441)
This commit is contained in:
@@ -154,8 +154,11 @@ class Core(CoreSysAttributes):
|
|||||||
self.sys_capture_exception(err)
|
self.sys_capture_exception(err)
|
||||||
|
|
||||||
# Set OS Agent diagnostics if needed
|
# Set OS Agent diagnostics if needed
|
||||||
if self.sys_config.diagnostics is not None and (
|
if (
|
||||||
self.sys_dbus.agent.diagnostics != self.sys_config.diagnostics
|
self.sys_config.diagnostics is not None
|
||||||
|
and self.sys_dbus.agent.diagnostics != self.sys_config.diagnostics
|
||||||
|
and not self.sys_dev
|
||||||
|
and self.supported
|
||||||
):
|
):
|
||||||
self.sys_dbus.agent.diagnostics = self.sys_config.diagnostics
|
self.sys_dbus.agent.diagnostics = self.sys_config.diagnostics
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user