grinstantin / todoist-card

Todoist card for Home Assistant Lovelace UI.
MIT License
60 stars 26 forks source link

[BUG] When sensor.todoist_<list> is unavailable, card shows "No uncompleted tasks" #50

Open surfingbytes opened 4 months ago

surfingbytes commented 4 months ago

Before submitting a bug

Describe the bug If it happens and HA can't download todoist tasks, the sensor state is set to unavailable. Todoist card then, instead of displaying error, shows "No uncompleted tasks" message. That gives pretty wrong impressions that everything is done, while there was a failure. Please display a friendly error message when sensor state is unavailable.

Versions: