I don’t want to appear ungrateful but is there any way that either the button card or the decluttering card can be changed to not need the extra ‘-’? I know it is correct syntax but so far it is the only place in my config I have needed it. I always just use a ‘>’.
Obviously this is a very small request but if it’s something simple…
I’ll add my gratitude to @RomRider , and support for this request gladly.
trying to get the prescriptions thought HA custom cards as uniform as possible
That will never work because in yaml without the quotes, this:
key: [[value]]
Means:
key:
-
- value
I’ll add that yaml is a data presentation format, and I can only do so much with it
This >- means that for a multiline string, it doesn’t include the last carriage return and it is required for decluttering card as I transform everything to JSON to replace the template with the values you want.
I’ll let you read this, it will help you understand all the use cases of YAML multiline strings: https://yaml-multiline.info/
Thanks, I will try later.
What I’m seeing is that the icon reduce the size or even disappear when the name is longer.
It seems that the right space near the name is not used.
Hope to find a way to do it.
Still a great card and I use it graciously, however the update to 2.x made the addon unusable for me. Every button I tap will inact a double tap. I know this is probably a bug in ios 13, but previously I could work around it by holding the button slightly longer than a tap but not too long to activate the hold_action. Unfortunately there is no way to do this anymore since this update and every button I press will turn itselfs back on/off immediately after pressing the button.
I will revert to 1.11 to see if it “fixes” my problem. I will also test this on my wifes phone later on as she is still on iOS 12. If Apple doesn’t fix this soon I am going crazy, and a gut feeling says they wont as it has been like this since beta 1 (we are on beta 4 now!)
Edit: it seems most prominent on buttons that switch conditional cards. Really strange
I guess if you use the default button from Home-Assistant Core, you have the same issue? (I use almost the same code as the one from Hass Core to handle tap and hold).
Would you mind doing the test please?
(the modification I did to handle tap and hold shouldn’t modify the behaviour… and also this shouldn’t be a problem as it works everywhere but not on IOS 13 )
I’m downloading xcode beta to be able to run the simulator with IOS 13 and test what’s going on… I guess I’ll have to do a dirty hack for this to work again… argh I hate Apple IOS devices
Srry not at home right now, but I have tested this with beta 1 and 2 and the behavior is the same with core buttons. So I don’t think there is really much you can do about it. I just noticed that with the 2.x update the behaviour is more prominent.
Pff I really hope that Apple will fix this, in the mean time I am going to try a fresh install of ios. Sometimes it helps doing this haha.