From 3dd57f24ac69f8944591bc61dc59e278776c90c0 Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky <3136012+GuyKh@users.noreply.github.com> Date: Thu, 16 Dec 2021 17:36:15 +0200 Subject: [PATCH] Update __init__.py --- homeassistant/components/glances/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/glances/__init__.py b/homeassistant/components/glances/__init__.py index a2f662c4999..65958fdfb8d 100644 --- a/homeassistant/components/glances/__init__.py +++ b/homeassistant/components/glances/__init__.py @@ -111,7 +111,7 @@ class GlancesData: async def async_update(self): """Get the latest data from the Glances REST API.""" try: - await self.api.get_data() + await self.api.get_data("all") self.available = True except exceptions.GlancesApiError: _LOGGER.error("Unable to fetch data from Glances") @@ -123,7 +123,7 @@ class GlancesData: """Set up the Glances client.""" try: self.api = get_api(self.hass, self.config_entry.data) - await self.api.get_data() + await self.api.get_data("all") self.available = True _LOGGER.debug("Successfully connected to Glances")