From 10dcdbf5379dd4450501557f9c6adc6eb71b2cc3 Mon Sep 17 00:00:00 2001 From: Robert Hillis Date: Fri, 6 Oct 2023 08:13:59 -0400 Subject: [PATCH] Correct doc strings for Hassio component (#101530) --- homeassistant/components/hassio/update.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/homeassistant/components/hassio/update.py b/homeassistant/components/hassio/update.py index 285a2663d92..8a3199a1121 100644 --- a/homeassistant/components/hassio/update.py +++ b/homeassistant/components/hassio/update.py @@ -181,17 +181,17 @@ class SupervisorOSUpdateEntity(HassioOSEntity, UpdateEntity): @property def latest_version(self) -> str: - """Return native value of entity.""" + """Return the latest version.""" return self.coordinator.data[DATA_KEY_OS][ATTR_VERSION_LATEST] @property def installed_version(self) -> str: - """Return native value of entity.""" + """Return the installed version.""" return self.coordinator.data[DATA_KEY_OS][ATTR_VERSION] @property def entity_picture(self) -> str | None: - """Return the iconof the entity.""" + """Return the icon of the entity.""" return "https://brands.home-assistant.io/homeassistant/icon.png" @property @@ -224,12 +224,12 @@ class SupervisorSupervisorUpdateEntity(HassioSupervisorEntity, UpdateEntity): @property def latest_version(self) -> str: - """Return native value of entity.""" + """Return the latest version.""" return self.coordinator.data[DATA_KEY_SUPERVISOR][ATTR_VERSION_LATEST] @property def installed_version(self) -> str: - """Return native value of entity.""" + """Return the installed version.""" return self.coordinator.data[DATA_KEY_SUPERVISOR][ATTR_VERSION] @property @@ -247,7 +247,7 @@ class SupervisorSupervisorUpdateEntity(HassioSupervisorEntity, UpdateEntity): @property def entity_picture(self) -> str | None: - """Return the iconof the entity.""" + """Return the icon of the entity.""" return "https://brands.home-assistant.io/hassio/icon.png" async def async_install( @@ -274,17 +274,17 @@ class SupervisorCoreUpdateEntity(HassioCoreEntity, UpdateEntity): @property def latest_version(self) -> str: - """Return native value of entity.""" + """Return the latest version.""" return self.coordinator.data[DATA_KEY_CORE][ATTR_VERSION_LATEST] @property def installed_version(self) -> str: - """Return native value of entity.""" + """Return the installed version.""" return self.coordinator.data[DATA_KEY_CORE][ATTR_VERSION] @property def entity_picture(self) -> str | None: - """Return the iconof the entity.""" + """Return the icon of the entity.""" return "https://brands.home-assistant.io/homeassistant/icon.png" @property