Battery Low not triggered or triggering? Action does not do anything even In debug log? #2419
-
Hi, I'm using an automation at 9 am (from the blueprints) to trigger the "Battery notes check Battery low" check and a further "official" blueprint to generate notifications for the low batteries. However I did not receive any notification and cannot find any info in the log file even with the debug level set on the integration. also calling the check action from the developer menu does not show anything in the log. Am I getting something completely wrong or might there be a bug in my setup or the integration? regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
I've just tried emulating this and not had it fail. I think your problem may be that you haven't added the device you are expecting to check to Battery Notes, that entity icon isn't right. Once added run the Check battery low action from developer tools The triggers will only work on devices that have a battery notes entry added as this is what adds the extra data/monitoring. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Ah, I see now. What you need to do is go into the Battery Notes integration, press configure on this device and within the battery low template section add something like one of these two (I think the the first as I'm guessing it's a boolean translated as Low within the UI)
This is detailed here |
Beta Was this translation helpful? Give feedback.
-
Thanks for that. It was exacly the issue. since all of the devices already had a battery icon I thought some magic/config database would have created the needed "battery low" configs. I've now re-done about 40 of the battery notes devices with the correct templates and stuff is working! in this case its a "binary_sensor.device_name_battery" == "On" |
Beta Was this translation helpful? Give feedback.
Ah, I see now.
That device doesn't have a battery percentage, just the battery low, so Battery Notes can't work out how to determine the battery is low automatically. When this happens a Battery+ entity is not added and you won't get the triggers.
What you need to do is go into the Battery Notes integration, press configure on this device and within the battery low template section add something like one of these two (I think the the first as I'm guessing it's a boolean translated as Low within the UI)
Try them out in the dev tools template editor to be sure, you need to get True/False as output.