jseidl/hass-magic_areas

Optional configs not optional

Closed this issue · 4 comments

Describe the bug

Every field is required. I can’t leave anything empty: excluded entities, sleep entities, etc. it errors with

User input malformed: expected str for dictionary value @ data['sleep_entity']

or whatever field is blank

To Reproduce
Steps to reproduce the behavior:

attempt to “configure” area. Leave “excluded entities” blank.

Expected behavior

all optional features should be optional

I can confirm this. Something weird with the new selectors, working on it.

Just pushed PR #237 which should fix it. Will be testing for the next week. @thoppa if you'd like to test early, pull the config_flow.py code from hotfix/config-flow-selectors-optional branch. Otherwise I shall be releasing the hotfix next week.

This was caused by something in the upgrade from home assistant 2017.7.4 to 2017.7.5

@mbbush thanks for the heads up! New release of MA has the fixes for this issue, closing!