I am very new to HomeAssistant and just playing around to get familiar with it. I like these charts and have set up one for a Kasa Switch with monitoring that controls my coffee machine. The chart shows current W. There are two things I was wanted if it was possible.
Can I use the tap-action function to get the tap to toggle the switch? Below is what I have tried.
Thanks bro, it worked excellent, thanks for show me how it works and also for help me to learn about the CCS path use…
do you know where I can find information about how to use “config.entity” option to manipulate the mini-graph-card’s a this level, I have tried several ways and examples that I found but I have not been able to use in my code, and it looks or maybe I have not see any documentation repository about the use of “config.entity”
Thanks for the post. The unit: setting worked but for some reason value_factor does not work. I will have to go back through the document to see what I am missing.
Random question, I am struggling to see if there is an answer to my weird question,
I am using the graph card t show the last price of a stock from a day over the last 7 days, one thing I am wondering is, is it possible to set the colour thresholds based on the previous days last value?
type: custom:mini-graph-card
name: Stock Price - Last 7 Days
icon: hass:currency-usd
entities:
- sensor.yahoofinance_stock
aggregate_func: last
group_by: date
hour24: false
hours_to_show: 168
show:
extrema: true
icon: true
graph: bar
name: true
name_adaptive_color: true
icon_adaptive_color: true
Use config:template-card to set thresholds (there was my post here about it, find it) dependingly on some sensor.my_last_value.
Create the my_last_value template sensor (you should find out how to set it). Possibly by automation: run it at 23:59 (dependingly on how often the data updated) every day to save the last value. Kind of: trigger=sensor changed, condition=time>23:00.
Guys
where I can find documentation to learn how to create the path used in Style code/configuration, for example: how to cascade the style to “hui-masory-view” → “colums” (div id=“columns”) → “column” (div class=“column”)
I suppose exist something to learn, right?
Thanks in advance
poured into graph with ‘last’ aggregation (which worked fine whole year)
The 0.2 value is mostly at 1am, so the 24 hours for day cycle seems bit off
now it only shows right values with ‘max’ value, but as it is daily sum, it isnt the right aggregation as ‘max’ in summer is not the right value at the end of a day.
Probably it will correct after 7 days, i’ll be patient.
How can I get 3 graphs with non-opaque fill below each line, where each graph is overlaying the other? I have built this once in grafana and with this it is e.g. easy to see 1) what energy is consumed from the net, 2) what is solar-produced and self-consumed and 3) what is returned to the net.
I love mini-graph-card and tried to mimic the same. However, I get as far as what you see below and is more or less what you get out-of-the-box. It seems the fill is opaque and is mixing in with the other fills so it appears as grey where the 3 overlap. I have been playing with card-mod and tried to change the opacity for the 3 graphs but can’t get it to work.