Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: after latest Update subtitle template code is not visible but exists #1404

Open
3 tasks done
i4mr000t opened this issue Apr 5, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@i4mr000t
Copy link

i4mr000t commented Apr 5, 2024

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • 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

After Updating my whole subtitle in title cards are not shown in the gui but in yaml they are still exists.

Expected Behavior

subtitle should be visible like before the update

Steps To Reproduce

No response

Context

YAML state

Environment

- Browser: chrome
- HA Version: 2024.4.0
- Mushroom: 3.5.4

Anything else?

my template code which is working in dev tools->template

`{% set countedplugs = expand(state_attr('switch.steckdosenzahler','entity_id'))|selectattr('state','eq','on')|map(attribute='entity_id')|list|count %} {% set countedlights = expand('light.lampenzahler')|selectattr('state','eq','on')|list|count %} {% set countedplugs = expand(state_attr('switch.steckdosenzahler','entity_id'))|selectattr('state','eq','on')|map(attribute='entity_id')|list|count %}
{{ states('sensor.current_weather') }}, es sind {{ state_attr('weather.forecast_home', 'temperature') }}°C draußen, die Luftfeuchtigkeit beträgt {{ state_attr('weather.forecast_home','humidity') }}% und es soll heute {% set weather = state_attr('weather.forecast_home', 'forecast') | selectattr('datetime', 'lt', (now().replace(hour=23,minute=59)).isoformat()) | map(attribute='precipitation') | list | max %}{{ 'bis zu ' ~ weather ~ 'mm' if weather != 0.0 else 'nicht' }} Regnen.

Aktuell {{ 'sind' if countedlights > 1 else 'ist' }} {{ 'keine' if countedlights == 0 else countedlights }} {{ 'Lampen' if countedlights > 1 else 'Lampe'}} an, es {{ 'sind' if countedplugs > 1 else 'ist' }} {{ 'keine' if countedplugs == 0 else countedplugs }} {{ 'Steckdosen' if countedplugs > 1 else 'Steckdose'}} an und die Heizung läuft im {{ states('sensor.zuhause_tado_modus') }} Modus.

Es werden gerade {{ states('sensor.energy_power_haus_live') | round(2) }} Watt Strom verbraucht und im gesamten Haus wurden heute {{ states('sensor.energy_haus_heute')}} kWh verbraucht.
`

@i4mr000t i4mr000t added the bug Something isn't working label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant