mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-08 18:39:33 +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)
|
||||
|
||||
# Set OS Agent diagnostics if needed
|
||||
if self.sys_config.diagnostics is not None and (
|
||||
self.sys_dbus.agent.diagnostics != self.sys_config.diagnostics
|
||||
if (
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user