Prevent Tuya from accidentally logging credentials in debug mode (#57100)

This commit is contained in:
Franck Nijhof 2021-10-05 10:22:28 +02:00 committed by GitHub
parent 59b1433e5c
commit f364d53c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,9 +44,6 @@ _LOGGER = logging.getLogger(__name__)
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Async setup hass config entry."""
_LOGGER.debug("tuya.__init__.async_setup_entry-->%s", entry.data)
hass.data[DOMAIN] = {entry.entry_id: {TUYA_HA_TUYA_MAP: {}, TUYA_HA_DEVICES: set()}}
success = await _init_tuya_sdk(hass, entry)