Good evening,
I have a problem with an implementation,
I want to record the uptime in hours and minutes of a computer per day.
I use a binary_sensor.chris_pc with Ping (ICMP) integration,
On this, I record when the computer is connected,
I have done this:
name: Chris PC Daily Uptime
entity_id: binary_sensor.chris_pc
state: 'on'
type: time
start: '{{ now().replace(hour=0, minute=0, second=0) }}'
end: '{{ now() }}'
to measure the hours, and then I placed it on the card like this:
But I see that it records it wrong. What I want, I think, is simple,
I want to measure the usage per day to know how many hours the computer was on per day, can it be done?
Hi, Is there any way to get a action to happen when i click on the actual graph ?
It works clicking on any of the text or icon. but would like it to also work on the graph as I like the clean no points no label look.
want to go to more-info when i click the graph.
How to add different icons to displayed states of entities (marked as red 1 and 2)?
My graph is generally connected to first entity and Iād like to add only numeric value of second one and mark both by icons showing what is there. I tried to look for solution by own, but this thread is too big, sorry.
Hi folks, I think thereās either a minor bug with this card, or Iām merely entering my yaml incorrectly!
The following code is only bringing up the more-info window for the sensor (which is shown on the graph) rather than the light entity Iād like it to be:
Just following up on thisā¦ It transpires that clicking the āTitleā at the top of the card opens the tap_action target entity, however, clicking the state thatās displayed opens the original entity. I canāt seem to establish a way to make the state target the other entity too?
Exactly! It feels as if there should be an option to be able to allow the defined tap_action to also point to a custom area when clicked in your āgreen zoneā - even better would be if could click on a specific entity from the āentitiesā list in your green zone and it direct to a custom tap_action - similar to ApexCharts
Iām trying to add treading arrows that change depending on weither the trend is decreasing or increaseing in place of the icon using the icon_image: option
Iāve already made the automations and the sensors that handle tracking the trend. They work fine.
What I have so far but it results in a broken image.
but icon_image: /local/green_arrow.png works perfectly.
With the added if statements it results in a broken image which when right-clicked on and copy image addressed this is what it gives me http://192.168.1.2:8123/lovelace/%7B%%20if%20is_state('sensor.temperature_trend',%20'increasing')%20%%7D%20%20/local/red_arrow.png%7B%%20elif%20is_state('sensor.temperature_trend',%20'decreasing')%20%%7D%20%20/local/gray_arrow.png%7B%%20else%20%%7D%20%20/local/green_arrow.png%7B%%20endif%20%%7D
Hi, experimenting with this amazing card.
I made this card to monitor voltage on all 3 phases. But I canāt get the color of the voltage to match the color of the line graph. Any help is appreciated. Code is below.
This is not supposed to be done by card-mod.
Use a native āstate_adaptive_color: trueā - what you tried to do but placed the option into a wrong place, itās an āentityā object.
In fact, many options in your code are misplaced - check Docs.