edwardtfn / HomeAssistant-Config

Edward Firmo's Home Assistant config files
MIT License
22 stars 7 forks source link

Wrong Filter for Card #7

Open SteLech opened 10 months ago

SteLech commented 10 months ago

Hello,

First of all I wanted to thank you for the grate work an the idea to plot those data! not sure if it is wrong, cause I am not familiar with all those YAML and Plotty. However I found out that this line for the Lovelace Card did not work in my configuration: xs: [vars.electricity_price.xs.slice(-1)[0],...meta.future_prices.map(({ startsAt }) => new Date(startsAt))] It is just becuause the tibber.yaml doesnt write future_prices instead it ist just future in the sensor. Do I miss something here? Anyway after fixing meta.future.map everything was working (until i figured out that for the Past energy prices I have to use a Sensor which is in my database).