I think you did your import button wrong because it’s not working to import. I think you need to add the link to this post in the URL for the button not to the github gist.
This blueprint is just what I’m looking for if only I can get it to work!
The thing is that I can’t seem to get my automations working. My tibber price sensor is sensor.electricity_price_house. (wich is my senor that hold all the attributes and check the actual price).`
And then go to Developer Tools > States, find your tibber sensor and manually change the state attribute(price_level) to VERY_CHEAP and then to VERY_EXPENSIVE. Do the notifications not trigger? (The attribute will revert back to the actual value in a couple of seconds.)
This is excactly what im lookibg for ! Thanks! Unfortunately I can’t get it to work . I am no expert, but I was able to find out , it looks like it passes right by the action part, even though it’s triggered? I will try to change the threshold and a few other things to see if I can get it working . I would be very glad if you could have a look at the screenshot, maybe it’s a very obvious mistake?
I am new to Home Assistant and I am trying to get my water heater to turn off when the price is normal and high, based on Tibber price.
The attributes used here are based on a 3 day average, which can mean a day can go by without hot water if the average price that day is “expensive” after 3 days with cheap prices.
So my question is, can’t this instead use PriceRatingLevel instead? That way, if I read Tibber developer correctly, the price will vary between low, normal and high every day.
Or am I misunderstanding? As I said, I am very new to HA and “programming”.
Hello and thank you for a nice blueprint. I just have probleme with it and it’s because it takes the prices for the last three days and uses that as a reference. So the problem is that when I want the water heatup at least once a day it won’t trigger if the prices got very high the last days. I therfore try to use a template for calculate the “level” last 24 hours. But the value from the template is not a attribute but a “state” How can I modiy you blueprint som it reads states and not attributes or how can I remodel the template so it changes the “attribute” and not the state. I would be very thankfull for you help.
Hi, I’m a beginner trying to figure out how this works as I want to control my water heater and boiler using Tibber’s price levels. I wonder if anyone has the answer why I also get the error:
Error: UndefinedError: ‘dict object’ has no attribute ‘from_state’
when I use the above blueprint in automation.
Would be very grateful if I could get this started. hope for your answers
Greetings
Niclas
Hi Niclas. As mentioned above, you can’t manually trigger this automation from the UI. If you want to trigger it manually you can play with the price level attribute in the Tibber entity.
Sorry for bumping this old thread, but just found this being quite new to Home Assistant and with the winter coming electricity prices gets more intresting.
Trying the blueprint and getting the same error:
"Error: UndefinedError: ‘dict object’ has no attribute ‘from_state’
Understood that I cannot manually trigger the automation, but does that mean I cannot manually start it?
E.g, currently the price level is VERY_CHEAP.
What I am planning to use it for is to run a heater in my garage, and to start when price falls below CHEAP.
Can´t I test it by turning off the heater, then run the automation to start the heater (since current price should activate the heater)?
Or do I need to start it manually and wait and see when price level change to NORMAL and check then if it turns off my heater?
Automation running like a champ for some days now. But every time I want to change the threshold I have to go into the automation and change it there. Especially a dealbreaker for my wife. Would really love a card in our dashboard in which we can see the state and change it from there but have not the skills to accomplish this myself tbh.
The blueprint would be a perfect fit for me. So I tried to use it. I have no glue why the automation jumps over the action. May somebody could help me?