Using a PredAi sensor attribute value into a HA Automation #1317
Unanswered
mlduncombe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I couldn't see a Predai discussion so will ask here instead.
I have been playing with Predai with battery SoC and the following returns the right value when I test it in HA Developer Tools/Template as per the screenshot. Its picking up the predicted state of charge at 23:30 from the attribute results of my Predai sensor. I've set the predai config so as only to have a single 23:20 attribute value.
Does anyone know how to take that value and put it into a HA sensor or a number helper that I can use with an automation?
I've tried creating a template sensor but have a feeling having the now() in configuration.yaml isnt a great idea.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions