Drop logging to info, use latest pyemvue, update to 0.4.0

This commit is contained in:
magico13
2021-05-07 18:13:09 -04:00
parent 8d0536b1e5
commit 6d0f06c541
2 changed files with 5 additions and 5 deletions

View File

@@ -96,7 +96,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
total_channels = 0
for d in devices:
total_channels += len(d.channels)
_LOGGER.warn(
_LOGGER.info(
"Found {0} Emporia devices with {1} total channels".format(
len(devices), total_channels
)
@@ -144,7 +144,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
update_interval=timedelta(seconds=60),
)
await coordinator_1min.async_config_entry_first_refresh()
_LOGGER.warn(f"1min Update data: {coordinator_1min.data}")
_LOGGER.info(f"1min Update data: {coordinator_1min.data}")
coordinator_1s = None
if ENABLE_1S in entry_data and entry_data[ENABLE_1S]:
scales_1s.append(Scale.SECOND.value)
@@ -158,7 +158,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
update_interval=timedelta(seconds=1),
)
await coordinator_1s.async_config_entry_first_refresh()
_LOGGER.warn(f"1s Update data: {coordinator_1s.data}")
_LOGGER.info(f"1s Update data: {coordinator_1s.data}")
except Exception as err:
_LOGGER.warn(f"Exception while setting up Emporia Vue. Will retry. {err}")
raise ConfigEntryNotReady(

View File

@@ -4,7 +4,7 @@
"config_flow": true,
"documentation": "https://github.com/magico13/ha-emporia-vue",
"requirements": [
"pyemvue==0.12.2"
"pyemvue==0.12.4"
],
"ssdp": [],
"zeroconf": [],
@@ -13,5 +13,5 @@
"codeowners": [
"@magico13"
],
"version": "0.3.2"
"version": "0.4.0"
}