From 64fc6a08d3bb0ec60af7b8e0de63c582f7e1d8e3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 23 Jan 2017 22:25:38 +0100 Subject: [PATCH] Fix typos (#5522) --- homeassistant/helpers/entity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/helpers/entity.py b/homeassistant/helpers/entity.py index 438de6a66d3..6f09b9592f3 100644 --- a/homeassistant/helpers/entity.py +++ b/homeassistant/helpers/entity.py @@ -266,7 +266,7 @@ class Entity(object): self.entity_id, state, attr, self.force_update) def schedule_update_ha_state(self, force_refresh=False): - """Shedule a update ha state change task. + """Schedule a update ha state change task. That is only needed on executor to not block. """ @@ -285,7 +285,7 @@ class Entity(object): @asyncio.coroutine def async_remove(self) -> None: - """Remove entitiy from async HASS. + """Remove entity from async HASS. This method must be run in the event loop. """