lovelace-mushroom
lovelace-mushroom copied to clipboard
[Bug]: Space in Subtitle
Requirements
- [X] I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
- [X] I did a search to see if there is a similar issue or if a pull request is open.
- [X] I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.
Current Behavior
Hi how fix this Space in subtitle?
Expected Behavior
No response
Steps To Reproduce
No response
Context
YAML state
Environment
- Browser:
- HA Version:
- Mushroom:
Anything else?
No response
Hello 👋
Title card is using jinja templating rules.
You can take control of white spaces using minus -
sign.
You can find the full documentation here: https://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control
Hello 👋 Title card is using jinja templating rules. You can take control of white spaces using minus
-
sign. You can find the full documentation here: https://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control
Hi, sorry but i really don't understand how to change do you show me on one of my code?, thx
{{ '👑 ' ~ as_timestamp(state_attr('calendar.slovakia_holidays', 'start_time')) | timestamp_custom('%-d.%-m') ~ ' ' ~ state_attr('calendar.slovakia_holidays', 'message') if (as_timestamp(state_attr('calendar.slovakia_holidays', 'start_time')) - as_timestamp(now())) <= 432000 else '' }}