enkama / hass-variables

Home Assistant variables component
90 stars 12 forks source link

Prevent AttributeError in Service Call #38

Closed Snuffy2 closed 1 year ago

Snuffy2 commented 1 year ago

If Attributes was never initially set and then it is set in the Service Call (and replace_attributes is false), it would generate the AttributeError.

Snuffy2 commented 1 year ago

Fixes #36