Skip to content

Commit

Permalink
Fix New update broke group sensor #412
Browse files Browse the repository at this point in the history
  • Loading branch information
bruxy70 committed Jul 10, 2022
1 parent 08b7845 commit cd01020
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion custom_components/garbage_collection/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ def detail_config_schema(
elif options[const.CONF_FREQUENCY] in const.GROUP_FREQUENCY:
# "group"
options_schema[required(CONF_ENTITIES, options)] = selector.EntitySelector(
selector.EntitySelectorConfig(domain=const.DOMAIN, multiple=True),
selector.EntitySelectorConfig(
domain="sensor", integration=const.DOMAIN, multiple=True
),
)
elif options[const.CONF_FREQUENCY] not in const.BLANK_FREQUENCY:
# everything else except "blank" and every-n-days
Expand Down

0 comments on commit cd01020

Please sign in to comment.