mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Prevent Tuya from accidentally logging credentials in debug mode (#57100)
This commit is contained in:
parent
59b1433e5c
commit
f364d53c7b
@ -44,9 +44,6 @@ _LOGGER = logging.getLogger(__name__)
|
|||||||
|
|
||||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||||
"""Async setup hass config entry."""
|
"""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()}}
|
hass.data[DOMAIN] = {entry.entry_id: {TUYA_HA_TUYA_MAP: {}, TUYA_HA_DEVICES: set()}}
|
||||||
|
|
||||||
success = await _init_tuya_sdk(hass, entry)
|
success = await _init_tuya_sdk(hass, entry)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user