The title doesn’t say much I’m afraid. What I mean is: Things like the Sonoff SWV Water Valve have entities, that are complex … By that, I mean it is not just a single reported number (like a temperature), but in Sonoffs case, complete functionality, like cyclic timed irrigation setup. How do I add this to a HA dashboard, so it shows all it’s got in one go … i.e. the required sliders, fields whatever to use that one function? Something similar is the open meteo “device”, that has one exposed function, that displays the entire weather card, including symbols, weather data, forecast an all in one single “sensor”. I’m confused with all the cards in HA.
Can you explain by sharing the HA device page for this thing? I assume all these items are control or diagnostic entities, but if you can show it will help
this is z2mqtt screen i suppose, can you share how device looks like in Homeassistant devices page?
So from what I now understood: you want the “design” from that device page to be ideally be shown in a card, yes?
Then use Entity Card I guess.
Entity card gives you a “compact” view and you can just basically throw in all types of entities into it and it works.
Just the entity card didn’t produce much usable for me … I’d like to recreate such a neat setup for irrigation as in the mqtt entity … where I can set minutes and have sliders for that etc.
The only stuff that intrigues me: Do you have any way to open the irrigation via HA?
Is it “Sonoff SWV Terasse?”
If not then…well…HA cant help you there and it seems to be not fully compatible I guess?
But if your Valve is “manually openable”:
Create your own helper and use the helper to close the valve.
Helpers can be found in ip.of.your.homeassistant:8123/config/helpers
Spontaneously what might work:
- create a helper entity (for example a slider, depending what you think would be the fastest/best for you) In my case I created a Slider (but Input field also is possible, whatever floats your boat)
- create a automation: if “Sonoff SWV Terasse” opens (Switch is ON) then wait/sleep for {template that contains helper entity number} seconds
- maybe add a safeguard: if on for 5 minutes (i dont know if that is super long but you get the point)
- After Automation is done, reset to 1 second (optional) so you get some indirect feedback that the automation ran to the end.
- Add several debugging messages (telegram, push to know what happens)
- Add several saveguards
Im pretty sure there are other ways but this would be maybe the easiest without doing much yaml stuff and it is very overseeable
And if you dont want to do any yaml stuff, you can use several “separate” button helpers and If i remember correctly just trigger an automation each with a fixed value of seconds (this can also be done in one automation and requires no yaml templating).
there will be no ’ plugandplay’ card for you. You’ll have to invest how you want your ‘konfiguration’ entities displayed on a dashboard. You can start with the ‘zu dasdboard hinzufugen’ and start modifying cards until happy.
I see … I do know how to take the simple value entities and create soemthing with them. I was wondering about them all already “Pregrouped” in the z2m view … I assumed, this functionality is provided by the device … i.e. a “complex” exposed part that you can directly use somehow in HA.
Entities card might be your best bet but you need to think of exactly what you need to see on a dashboard. A lot of those entities are just back-end settings that do not need to be touched.
Example of my irrigation dashboard using Giex water valves.
It is not. You will need to assemble custom views of your gear if you want that. Sometimes people make thier own card when it’s very specific or complex. The. Sometimes they even choose to share that card. This the entire reason HACS exists…
Yeah I noticed the default cards, the mushroom cards the xyz whatever cards … it’s all quite confusing on what I should actually settle on for the best effect ![]()
The cards wont help you. You need automations and templates to substitude.
Cards are just cosmetic and wont do the automation part of it.
Have you tried my Idea with the helpers?







