Tibber Blueprint that sends a notification if the price is above 90% of the max price for today:
Tibber is available in Germany, Norway and Sweden.
If you use this link to signup for Tibber, you get 50 euro to buy smart home products in the Tibber store: https://invite.tibber.com/6fd7a447
4 Likes
316097
(P)
2
Just changed a few things, to make a swedish version.
Maybe you could have localized version at your Github, @Danielhiversen?
I guess it’s not possible (to implement) at the moment to, in the blueprint, choose, message, currency, etc?
rosscullen
(Ross Cullen)
3
Just for users to note, copy the github link into HA Blueprints, not this page URL.
Mindraid
(Hans Målefors)
4
Hi guys, I’m trying to get this started but I got an error for this blueprint:
blueprint:
name: "Högt elpris, sänd notis till mobil"
description: "This automation blueprint sends a notification on high energy price."
domain: automation
input:
energy_sensor:
name: "Tibber Prices All"
description: "Select the Tibber energy sensor."
selector:
entity:
domain: sensor
integration: tibber
default: ""
notify_device:
name: "Device to notify"
description: "Select the device to receive notifications."
selector:
device:
integration: mobile_app
trigger:
platform: state
entity_id: !input energy_sensor
condition:
condition: template
value_template: "{{ states(input('energy_sensor')) | float(default=0) > 0.9 * (state_attr(input('energy_sensor'), 'max_price') | float(default=0)) }}"
action:
- service: notify.mobile_app
data:
title: "Högt elpris!"
message: "Elpriset är just nu {{ states(input('energy_sensor')) | float(default=0) }} kr."
2024-03-14 07:56:28.744 ERROR (MainThread) [homeassistant.helpers.config_validation] The blueprint integration does not support any configuration parameters, got {'blueprint': {'name': 'Högt elpris, sänd notis till mobil', 'description': 'This automation blueprint sends a notification on high energy price.', 'domain': 'automation'}, 'input': {'energy_sensor': {'name': 'Tibber Prices All', 'description': 'Select the Tibber energy sensor.', 'selector': {'entity': {'domain': 'sensor', 'integration': 'tibber'}}, 'default': ''}, 'notify_device': {'name': 'Device to notify', 'description': 'Select the device to receive notifications.', 'selector': {'device': {'integration': 'mobile_app'}}}}, 'trigger': {'platform': 'state', 'entity_id': Input(name='energy_sensor')}, 'condition': {'condition': 'template', 'value_template': "{{ states(input('energy_sensor')) | float(default=0) > 0.9 * (state_attr(input('energy_sensor'), 'max_price') | float(default=0)) }}"}, 'action': [{'service': 'notify.mobile_app', 'data': {'title': 'Högt elpris!', 'message': "Elpriset är just nu {{ states(input('energy_sensor')) | float(default=0) }} kr."}}]}. Please remove the configuration parameters from your configuration.