ynab icon indicating copy to clipboard operation
ynab copied to clipboard

Warnings about updating the sensor taking long

Open rickyxsosa opened this issue 3 years ago • 1 comments

Getting warnings in the home assistant core logs about the component taking longer than expected to update the sensor

[homeassistant.helpers.entity] Update of sensor.budget is taking over 10 seconds 2021-09-08 09:33:43 WARNING (MainThread) [homeassistant.components.sensor] Updating ynab sensor took longer than the scheduled update interval 0:00:30

I will enable debugging and update with that as well

rickyxsosa avatar Sep 08 '21 16:09 rickyxsosa

2021-09-09 08:22:50 DEBUG (MainThread) [custom_components.ynab] Connection with YNAB established 2021-09-09 08:22:50 DEBUG (MainThread) [custom_components.ynab] YAML configured budget - last-used 2021-09-09 08:22:50 DEBUG (MainThread) [custom_components.ynab] Monitoring categories - ['⚡ Electricity'] 2021-09-09 08:23:01 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform ynab is taking over 10 seconds. 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Found 1 budgets 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Budget name: Budget - id: randomidhere 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Retrieving data from budget id: randomidhere 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: to be budgeted: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: unapproved transactions: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: uncleared transactions: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: total balance: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: budgeted this month: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: activity this month: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for: overspent categories: 0 2021-09-09 08:23:06 DEBUG (MainThread) [custom_components.ynab] Received data for categories: ['⚡ Electricity', 0]

rickyxsosa avatar Sep 09 '21 15:09 rickyxsosa

Stale

wxt9861 avatar Jun 02 '23 18:06 wxt9861