-
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
Not sure
Describe the solution you'd like
Some easy way of interpolating the translated strings.
Describe alternatives you've considered
N/A
Additional context
Given I have sensor, that has a state:
sensor.ehm6g88s_status -> awaiting_start.
This is translated in the custom component, so how do i get the translated string in my card?
If I were to use a regular Entity card or similar, it would be translated properly. How do I achieve the same-ish behaviour with the config-template-card?
Here's an example:
- type: custom:config-template-card
entities:
- sensor.ehm6g88s_status
card:
type: button
show_name: true
show_icon: true
state_color: false
tap_action:
action: toggle
entity: switch.ehm6g88s_smart_charging
icon: mdi:power
show_state: false
name: ${states['sensor.ehm6g88s_status'].state}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request