Skip to content

Commit

Permalink
🚧 Remove useless logging instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kamaradclimber committed Jul 27, 2023
1 parent ea48c34 commit 300ebfb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions custom_components/vigieau/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ async def async_migrate_entry(hass, config_entry: ConfigEntry):


async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
_LOGGER.info("Called async setup entry from __init__.py")

hass.data.setdefault(DOMAIN, {})

# here we store the coordinator for future access
Expand Down
2 changes: 0 additions & 2 deletions custom_components/vigieau/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
) -> None:
_LOGGER.info("Called async setup entry")
vigieau_coordinator = hass.data[DOMAIN][entry.entry_id]["vigieau_coordinator"]
sensors = [
UsageRestrictionEntity(
Expand All @@ -27,5 +26,4 @@ async def async_setup_entry(
sensors.append(AlertLevelEntity(vigieau_coordinator, hass, entry))

async_add_entities(sensors)
_LOGGER.info("We finished the setup of vigieau *sensors*")
await vigieau_coordinator.async_config_entry_first_refresh()

0 comments on commit 300ebfb

Please sign in to comment.