I just started setting up this package on my HA (Running on Synology via Docker) at version 90.2
I got down to step 4 in your instructions, after running a check config it gave this error. Any thoughts on what it could be? It is not so descriptive…
Invalid config for [automation]: required key not provided @ data[‘action’]. Got None
required key not provided @ data[‘trigger’]. Got None. (See ?, line ?). Please check the docs at https://home-assistant.io/components/automation/
@NotoriousBDG, I have set up your package my problem is I use Twilio for notifications. What would I need to do to modifying your package to work?
What I would like to do is the following:
If a battery is equal to or below 50% percent get a text that says "You might want to order a new battery* from amazon for sensor it is at 50% or lower.
If a battery is equal to or below 25% and I am at Walmart get a text that says "You need to grab a new battery* for this sensor it is at *50% or lower.
*I am not sure how to do the new battery part as I have 2 sensors that use a CR2 battery and 3 that use the CR123a.
Thanks for reaching out @scott_j_g. I messaged with @rendili who built the Hive component and he directed me to his hive custom component repository on GitHub which gives me exactly what I was after.
Might be in the topic but its pretty long, how do you set your settings and update the file (automaticly if possible) ?
I know you can update some components/love lace cards with a addon/script wonder if it is also for this. As in use some templates for the default settings and just set those things somewhere else.
Other then that, been using it for a long time now, always happy to see an alert
Click on the battery sensor you want to delete, copy the value of “delete_battery_sensor” attribute, and paste it into the “Delete a Battery Sensor” input text box.
Twilio isn’t supported natively because it has a unique inputs. Give this automation a try:
I am running Xiaomi Aqara hub and sensors. The temp sensors also have humidity in them whilst it’s only one unit and one battery they are being discovered twice (humidity battery/temp battery) as seen in screeny.
Click on one of the Sensors from the Battery status list that I want to delete.
Copy the line to the right of ‘delete battery sensor’ which for one of the sensors is homeassistant/sensor/humidity_158d00020f24ec_battery
Paste the copied text into the Delete a Batte… field and wait a couple of seconds and then the battery deletes and replace with yellow ‘entity not available’ line which disappears after a couple of seconds.
ps paying it forward any starting out on Notorious’s battery project struggling to add to lovelace.
*1. You need to install the group card from github look at readme.md here if you don’t know how to install a custom card like the group-card. 2. You need to add 2 manual cards in lovelace - 1 for Battery status (list of batterys) and 2 for Battery alert (the settings for the alerts). 3. You first custom card for Battery status has this code.
Great I added that under the section you mentioned in the battery_alert.yaml file and deleted again and it’s been 12 hours now and they haven’t returned. Your a champ
That sounds like it might be related to the migration to Lovelace. It doesn’t like when your groups refer to entities that don’t exist. You’ll need to remove them from your groups to fix those.
The automation that adds battery entities to the group runs once a minute now instead of at startup. It’s possible that if you view the UI before the first time the automation runs, your battery entities will not be in the group yet. Refreshing the page in your browser should fix that.