edwardtfn / ha_auto_update_scheduled

A Home Assistant blueprint to assist keeping the system automatically updated with the latest version of it's components
2 stars 2 forks source link

update_exclusions default value incorrect #1

Closed calabresemic closed 1 year ago

calabresemic commented 1 year ago

I found an issue with the update_exclusions default value. It is set to a Boolean false when it should be an empty list. It results in the following error when the automation is run:

ERROR (MainThread) [homeassistant.components.automation.home_assistant_auto_update_on_a_schedule_base] Error rendering variables: TypeError: argument of type 'bool' is not iterable

Suggest changing line 65 from

      default: false

to

      default: []

Appreciate all the work you've done so far!

edwardtfn commented 1 year ago

Fixed! Thanks!!