i have a binary sensor and i want to display its attributes.
The problem is that shows double values in the diagram.
16.04 the binary sensor was activated, but it shows me the 17.04. but also.
And with the same date as on April 16.
Today I shouldn’t have any data.
Like everybody else , love this card have been studying this channel quite a lot. The examples in this channel with the apex config examples really help a lot ! Would suggest to add them to the github.
I’m wondering if somebody knows how to add a different scale axis on the right sight with apex config ? Would like to add the consumption and generation with a dotted line in this graph below. Will add the code for other people once if added the dotted line and axis so they can also use it ! Thanks a lot !
I think I’m one step further but still no luck.
I was wrongly understanding the format. Reading better the documentation the first field need to be the timestamp in ms (done) and second field need to be a number or float. I think the issue could be that I’m passing a full string.
Anyone had same issue or has any sugestion on how to overcome? would it work trying to manipulate the string using “templating” (I’m not familiar with this). Thanks in advance for any sugestions.
current format of the sensor:
‘[[1618527600000, 11.23], [1618614000000, 12.39], [1618700400000, 2.88]]’
The only way I have found to add a second axis is actually to define y-axis values for all series individually. However, it is pretty flexible, and you can selectively choose which axes you want to display (e.g. if you have multiple between the same set of values), and which ones should appear on the right using opposite: true. You basically just need a ‘yaxis’ section that matches (in order and number) the series you have.
I’m currently evaluating a shower sensor using the trend binary sensor, and have got the below Apex card to visualise all the 4 things I want to see. Humidity % (closer left axis), two binary sensors between 0-1 (right axis - the second one is hidden), and the trend gradient (far left axis).
In that order, I have configured the axes like this:
RomRider is correct - there is no explicit matching. You just have to rely on the order of axes and series matching each other.
This is a stripped down version of the axes and series section of the card - I have 4x yaxis entries and 4x series entries, where the first axis entry configures the bathroom humidity sensor, the second configures the shower started sensor etc:
Does someone have an example, how to color-code a column type (bars) chart in a manner that every 7 bars the same color is used? I would like to easier see which bar is one week older than the current without counting. (when I got more data, the graph will display 4 weeks or a month)
sure, dont take my ‘gripe’ for a complaint its more of a nuisance I can’t get it right. The background colors get a haze over them (is it opacity maybe?), while I simply configured the colors to be regular green, red, yellow etc etc.
In my screenshot above, I would like to have the most left and right the same color because both show a Monday value. Covid-Case-Submission has a kind of 7 day period; Monday values are always lower than Sunday values and the same color (or darker with same color or a different background) would help to find same days and would make it easier to find a tendence…
Does somebody have a better solution for centering/ positioning the text in the background. Now it’s on a different place on different browsers. Especially on your phone.