Skip to content

Commit

Permalink
refactor: temporarily disable setup to avoid malicious activity triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
alryaz authored May 17, 2022
1 parent b951440 commit 83ad3ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions custom_components/lkcomu_interrao/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ async def async_setup(hass: HomeAssistantType, config: ConfigType):
async def async_setup_entry(
hass: HomeAssistantType, config_entry: config_entries.ConfigEntry
) -> bool:
# !!! SETUP TEMPORARILY DISABLED !!!
# !!! SETUP TEMPORARILY DISABLED !!!
# !!! SETUP TEMPORARILY DISABLED !!!
return False;
# !!! SETUP TEMPORARILY DISABLED !!!
# !!! SETUP TEMPORARILY DISABLED !!!
# !!! SETUP TEMPORARILY DISABLED !!!

type_ = config_entry.data[CONF_TYPE]
username = config_entry.data[CONF_USERNAME]
unique_key = (type_, username)
Expand Down

0 comments on commit 83ad3ef

Please sign in to comment.