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

Feature Request: Option to show state when using custom icon #57

Closed
julianrinaldi opened this issue Sep 7, 2021 · 2 comments
Closed

Comments

@julianrinaldi
Copy link

When I add a custom icon to an entity, the state disappears. It also doesn't come back if I try to use a custom label like {{state}}. Is it currently possible to have a custom label or show the state when you add a custom icon? If not, it would be a great feature to have.

@cgiesche
Copy link
Owner

cgiesche commented Sep 7, 2021

It is not possible to add labels to custom icons because they are not a feature by stream-deck but added by me when creating the standard images. When using user defined icons (a built in stream-deck feature), I can not add any additions to the image.

What should work, is adding the {{state}} to the title field:
image

Example with "weather" entity and title "{{forecast[0].condition}}":
image

works :)

@cgiesche
Copy link
Owner

cgiesche commented Sep 7, 2021

PS: Please make sure to use "Entity (User defined icons for bla bla bla" if you want to use custom icons. This only works for entities with on/off states (switches/lights):

image

This is no solution for displaying sensor data and may never be because of restrictions in the stream deck api.

@cgiesche cgiesche closed this as completed Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants