From 511e35e8fdcba7f6f6665242e47c1b3339a2fc73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Herv=C3=A9?= Date: Thu, 31 Jan 2019 10:52:42 +0100 Subject: [PATCH] Fix typo in config entries doc (#20619) This fixes a typo in the docstring of config_entries which was propagated in the point component. --- homeassistant/components/point/config_flow.py | 2 +- homeassistant/config_entries.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/point/config_flow.py b/homeassistant/components/point/config_flow.py index 8cda30c7171..64583a5ab38 100644 --- a/homeassistant/components/point/config_flow.py +++ b/homeassistant/components/point/config_flow.py @@ -43,7 +43,7 @@ class PointFlowHandler(config_entries.ConfigFlow): """Handle a config flow.""" VERSION = 1 - CONNETION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL + CONNECTION_CLASS = config_entries.CONN_CLASS_CLOUD_POLL def __init__(self): """Initialize flow.""" diff --git a/homeassistant/config_entries.py b/homeassistant/config_entries.py index 9c4c127f52e..c72f0f22827 100644 --- a/homeassistant/config_entries.py +++ b/homeassistant/config_entries.py @@ -30,7 +30,7 @@ At a minimum, each config flow will have to define a version number and the class ExampleConfigFlow(config_entries.ConfigFlow): VERSION = 1 - CONNETION_CLASS = config_entries.CONN_CLASS_LOCAL_PUSH + CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_PUSH async def async_step_user(self, user_input=None): …