Hi
I am new to the HA world of creating custom cards and need some assistance in creating a card. I have tried using HACS custom:button card but could not get it to work.
entity needs to be sensor.xxxx and this entity will automatically be created. Please be informed that you need MQTT with discovery enabled for this to work.
Glad that you got it to work. Now you can add severity levels to show different colors, based on how long the task has not been done. I use this card as well and send actionable notifications when the task is overdue. When I finished the task I press the “done” button on the actionable notification and it updates the time with the current time.
so i got the 3 states working. When i read through the repository i cant see i can insert an image.
should this then be done by card_style instead? through using Card-mod?
also when i make the box bigger how can i move the text to the top. In option it is only listed left, inside.
You can’t use an image wit this directly but you can have an image next to it like in the topic i linked.
I use appdaemon to handle the notification, but I think it should also be doable with native HA automations, just a bit more code and a bit more conplicated. Let mw know in case you need further assistance.
i have read through the example but the example uses the custom: button card.
I dont know if i fully understand what you are proposing regarding having it next to it. are you referring to having a second card.
I dont understand how i can do what you are proposing? can you guide me a bit more?
Ok I just realized that the link I sent you is a fairly complex example
I would use something like the vertical-stack-in-card put a horizontal-stack in there with one card being the check-button-card and one card for the image.
how would you do the automation of the two cards so when a severity level is reach the other card switches state? right now i have made it as a custom button. trying to figure out how to add a toggle to a picture card.