From 13ec8b143dfcf1f7dde66a17f1c55fc4d0284453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 2 Feb 2018 23:35:34 +0200 Subject: [PATCH] Spelling fixes (#12138) --- homeassistant/components/plant.py | 2 +- homeassistant/components/switch/pulseaudio_loopback.py | 2 +- homeassistant/helpers/deprecation.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/plant.py b/homeassistant/components/plant.py index 50bb7c43c72..24b8c682d02 100644 --- a/homeassistant/components/plant.py +++ b/homeassistant/components/plant.py @@ -92,7 +92,7 @@ CONFIG_SCHEMA = vol.Schema({ # Flag for enabling/disabling the loading of the history from the database. -# This feature is turned off right now as it's tests are not 100% stable. +# This feature is turned off right now as its tests are not 100% stable. ENABLE_LOAD_HISTORY = False diff --git a/homeassistant/components/switch/pulseaudio_loopback.py b/homeassistant/components/switch/pulseaudio_loopback.py index 03f9e84b3c8..007e74e14fd 100644 --- a/homeassistant/components/switch/pulseaudio_loopback.py +++ b/homeassistant/components/switch/pulseaudio_loopback.py @@ -131,7 +131,7 @@ class PAServer(): self._send_command(str.format(UNLOAD_CMD, module_idx), False) def get_module_idx(self, sink_name, source_name): - """For a sink/source, return it's module id in our cache, if found.""" + """For a sink/source, return its module id in our cache, if found.""" result = re.search(str.format(MOD_REGEX, re.escape(sink_name), re.escape(source_name)), self._current_module_state) diff --git a/homeassistant/helpers/deprecation.py b/homeassistant/helpers/deprecation.py index ee4176a8937..73a09464439 100644 --- a/homeassistant/helpers/deprecation.py +++ b/homeassistant/helpers/deprecation.py @@ -8,7 +8,7 @@ def deprecated_substitute(substitute_name): When a property is added to replace an older property, this decorator can be added to the new property, listing the old property as the substitute. - If the old property is defined, it's value will be used instead, and a log + If the old property is defined, its value will be used instead, and a log warning will be issued alerting the user of the impending change. """ def decorator(func):