Because all the To Do type cards I have found look like crap to be honest haha
They all look like flat text lists with checkmarks. No flexibility on what to show, which date range or status. They are just incredibly lacking and not user / touch / dashboard friendly in my opinion.
I have been working with Mushroom Template cards based on date_time input helpers to create lists for reoccurring tasks (mow the lawn, take medication, take out the trash, clean the litter box, refill the salt in water softener, etc). This is a user-friendly experience (think parents in law )
Looks and works like a charm, but with one major limitation. For each task they want, I have to create and maintain the input helper and the recurrence manually.
What my end goal would be is to use Google Tasks or something to (have others) set up the tasks and the recurrence. Then use the integration into HA to pick up the tasks and show them (using auto-entities) as separate buttons in the interface, based on ā¦ time, category, etc
But since the tasks from any To Do based integration in HA are not created as entities, but only available as response list from a service-call / action, I want to pass that response into auto-entities to create the separate cards. But I have yet to discover how to actually perform an action and use the response in auto-entities. I have used the template filter using jinja for many things, but cannot get this to work.
OK, a bit clearer but I am not sure how ātodoā will help as fafaik these do not (yet) allow for recurrence/scheduling so in my eyes only making things more complex if you want to put this in the middle but I have no clue how far up/down the road you are. In any case, this seems (?) not for auto-entities as how would you create an entity from a free-text todo-list itemā¦you would need an entity to populate a button card?
The recurrence is handled in the To Do integration, and that is working. The service all gives the next occurrence each time with the correct date. This is an example of response from todo.get_items task:
todo.kluslijst:
items:
- summary: Test Recurrence
uid: #hash#
status: needs_action
due: "2025-03-05"
- summary: Test One Time
uid: #hash#
status: needs_action
due: "2025-03-04"
You donāt need an entity to populate a Mushroom Template card. Thatās the beauty of it. If I have the above data in some form stored in an variable I can use Jinja to populate all the required fields for that card. If needed I will refer to a dummy entity.
By using the template filter and the for-loop you can create as many cards as you like based on your loop and if criteria. See below example I have working, but based on an integration that is not maintained anymoreā¦
filter:
template: |-
{% for state in states.sensor -%}
{%- if state_attr(state.entity_id, 'integration') == 'activity_manager' -%}
{%- if as_datetime(state.state) < (now() + timedelta(days=7)) -%}
{%- if as_datetime(state.state) < now() -%}
{{
{
'type': "custom:mushroom-template-card",
The one thing I am missing is how to execute the service to get the above response from my filter templateā¦
okā¦am (clearly) not the specialist on all levels.
So what you seem to want is: existing todolist > get items & atribs > populate mushroom cards ?
EDIT, I see the challenge getting the data from the todolist but that could be handled with a template entity and just populate that with the items, not? From there on you can query these attributes and populate the card via auto-entities
And now able to use that sensor in auto entities to create multiple cards for items due in the next 7 days. First setup as the final version will contain different colors for different due times and an call to update the todo item when pressed on.
And I think I like this idea too as removing items from a todo-list via the card takes too many steps., selecting, deleting, confirming
EDIT: done, tap action added to move items between completed and needs_actionā¦ two cards covering them both. Could also be done with two lists and moving items left/right
Iād like to know if it is possible to include specific groups based on the day of the week. I have tried variations of the following in include/groups, but I does not want to work. Any help would be appreciated
How I can change a severity color base on state value from air quality sensor which have only
these states: good, hazardous, high, low, moderate, unhealthy?
how can I make this card āstatus onlyāā¦ removing any control capabilities (clicks do nothing). Ideally it would also remove the text / right most columnā¦
that did work to disable the āclickā ability on the value text but it did not disable the click on the icon or name.
Any ideas how to disable those? And remove the value text completely?
@coolhand I appreciate the suggestion. Iād prefer not to create a ton of workarounds (hacks), which is what I consider sensor templates. Something this simple IMO its unacceptable HA doesnt have a built-in āstatus onlyā capability. HA is great if you love overly complex stuffā¦ but it misses a ton of ābasicsā
Then use a markdown card.
No control, text/table only.
The question is asked incorrectly IMHO.
Your ask is how to make an entity card do nothing.
My answer is donāt use an entity card, use an informational card like markdown.
Of course, then no need for auto-entities as you write that simple filter right in the card and you have one card ā¦ markdown.
example, not yours:
{% for sen in (states | selectattr('entity_id','contains', 'xan')) %}
{{ sen.entity_id }} last updated {{sen.last_updated}}
{% endfor %}
Markdown doesnt output the same without, Iām assuming, being a coding expertā¦ which is far from use friendly. by default the output just a ton of unwanted text, no icons, etcā¦ vs what auto-entities outputs, which is nice and clean visual with only the info I want.
OK. essentially as non-coding āexpertā myself, the few lines I put in contain all the information in the GUI that is your auto-entities entry.
Again, your asking this:
āwhy canāt I have a card that has no control or click or anythingā
Answer ā¦;. 99% of us do not want that.
The two suggestions (@Ildar_Gabdullin and mine) are the proper answers. Use CSS and card_mod to remove what 99% of us wantā¦requires coding.
Use markdown to show me information ā¦ requires coding.
I suppose you could use bubble or mushroom and show heading only ācardsā, but you have no reason to use many cards to show things if you donāt want to interact. Not to mention then 1000 lines of HTML and browser slowdown, etc. you get for āXā cards where "X is greater than than a few.
If you do not know the standard attributes for an entity, you should learn them.