keyatome
keyatome copied to clipboard
Price is not reporting corectly
Hello,
I have added current price in my energy dashboard using this attribute as increasing cost for energy consumption
- name: sensor.atome_daily_cost 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 ?
Hello, Sorry for the delay. Please if you look directly in HA dashboard the sensor Atome Delay, what is displayed for price and previous price (attributes) ? Thanks in advance Philippe
Hello,
If I look into entities, I see a price for today and previous, but the price is wrong.
The real price is near 3/4€
I have to correct it
Hello, Please can you check with this template in configuration.yaml :
-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
```