notoriousbdg/Home-AssistantConfig

The battery_alert package has trouble with 0.170 HA release due to Groups changes

Closed this issue ยท 8 comments

Check out breaking changes for 0.107 https://www.home-assistant.io/blog/2020/03/18/release-107/ and the note related to Groups. Because the battery_alert package uses group.set, it's having some issues with this new release because that service no longer exists - at least, not with that name.

Not sure how to fix, but wanted to report the issue.

Error returned by HA is "Unable to find service group/set."

iMiMx commented

https://www.home-assistant.io/integrations/group/

Lines such as 'view' and 'control' in the battery_alert.yaml packages file are no longer valid, for example:

battery_alert:
control: hidden

battery_view:
view: yes

iMiMx commented

Seems like there is a pull request already that fixes this:

https://github.com/notoriousbdg/Home-AssistantConfig/pull/23/files

I have the same problem

Same problem here. Can someone update script to work 0.107+?

It is good script. It should be nice to see it in HASS COMMUNITY STORE ;)

yeah, i made a merge request but think notorious is busy with other life stuff atm. you can just use an editor to find and delete the offending lines.
Edit:
To be specific, find any line containing:

view:
or
control:

Not only does the group/view give issues but it also returns the following error for me when I toggle settings: Unable to find service input_number/turn_on
Home Assistant 0.110.3

Hi everyone,
I got this to work with my HassOS install.
Its tested with HA v0.117.3 at this time, so should work.

I made a PR here and added a little documentation:
#27

Feel free to test, the direct raw file is here:
https://raw.githubusercontent.com/notoriousbdg/Home-AssistantConfig/164d3d736abfed943c4a4a71ec769022dc3045aa/packages/battery_alert.yaml

I'm interested to know if this works for others.

Thanks.

#27 has been merged. Thanks @KptnKMan!