Skip to content

Instantly share code, notes, and snippets.

@kaiserkiwi
Created December 17, 2023 07:45
Show Gist options
  • Save kaiserkiwi/b44579809d0c7805f18aec597a9b9614 to your computer and use it in GitHub Desktop.
Save kaiserkiwi/b44579809d0c7805f18aec597a9b9614 to your computer and use it in GitHub Desktop.
Home Assistant: Mushroom template card for my living room
type: custom:mushroom-template-card
primary: Wohnzimmer
secondary: |-
{{ states('sensor.klima_wohnzimmer_temperature') }}°C /
{{ states('sensor.klima_wohnzimmer_humidity') }}%
icon: mdi:sofa
entity: light.wohnzimmer
icon_color: amber
badge_color: amber
badge_icon: '{% if is_state(''light.wohnzimmer'', ''on'') %} mdi:lightbulb {% endif %}'
tap_action:
action: navigate
navigation_path: wohnzimmer
hold_action:
action: toggle
fill_container: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment