Change shelly CONNECTION_CLASS to CONN_CLASS_LOCAL_PUSH (#44260)

Shelly integration is using local push since HA 0.118
This commit is contained in:
Shay Levy 2020-12-15 20:25:14 +02:00 committed by GitHub
parent 0aa85b2321
commit 4880a1d55a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
"""Handle a config flow for Shelly."""
VERSION = 1
CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_POLL
CONNECTION_CLASS = config_entries.CONN_CLASS_LOCAL_PUSH
host = None
info = None