-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Price is not reporting corectly #28
Comments
Hello, |
I have to correct it |
Hello, -template:
- sensor:
- name: atome_daily_price
state: >-
{% if state_attr('sensor.atome_daily', 'price') == 'unknown' %}
unknown
{% else %}
{{ state_attr('sensor.atome_daily', 'price') }}
{% endif %}
#unit_of_measurement: 'EUR'
state_class: total_increasing
#device_class: monetary
``` |
have you some news ? |
@jugla as there was no reply I tried this myself and it doesn't work. What works for me right now with my entire setup up to date is this:
However I regularly get log errors for another issue related to the state class so I'll report a new one. |
Hello,
I have added current price in my energy dashboard using this attribute as increasing cost for energy consumption
state: "{{ state_attr('sensor.atome_daily', 'price') | float }}"
unit_of_measurement: 'euro'
But each day it only reports 1.75€ instead of the real price.
As I login into my Total Énergie account I can see real price.
Maybe something I misconfigured or misunderstood ?
The text was updated successfully, but these errors were encountered: