mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-18 22:56:31 +00:00
Disable diagnostic on dev/unsupported (#3441)
This commit is contained in:
parent
3edfaa1ee7
commit
a9ab64a29a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user