Fix bug when unloading an entry

This commit is contained in:
Pierre Ståhl
2020-10-05 12:48:45 +02:00
committed by rospogrigio
parent 5cd76f87ea
commit 59dfc35759
3 changed files with 20 additions and 7 deletions

View File

@@ -56,12 +56,11 @@ import logging
from homeassistant.config_entries import SOURCE_IMPORT, ConfigEntry
from homeassistant.core import HomeAssistant, callback
from homeassistant.const import (
CONF_DEVICE_ID,
CONF_PLATFORM,
CONF_ENTITIES,
SERVICE_RELOAD,
)
from homeassistant.helpers.event import async_track_time_interval
from homeassistant.helpers.dispatcher import async_dispatcher_send
from homeassistant.helpers.reload import async_integration_yaml_config
from .const import DOMAIN, TUYA_DEVICE