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

Add State Mapping for State Tile #120

Open
qJake opened this issue Feb 1, 2021 · 0 comments
Open

Add State Mapping for State Tile #120

qJake opened this issue Feb 1, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Projects

Comments

@qJake
Copy link
Owner

qJake commented Feb 1, 2021

Describe the new functionality

Add support for mapping any state from Home Assistant, to any display text.

What will it look like in the Admin area?

Probably just a textarea with one line being the mapping, so you'd have something like:

home:Here
not_home:Away
unknown:Where'd you go?

Or something to that effect.

💡 Bonus points: Support wildcards or regex: un*:Unknown or unavailable

Icons

Could also support icons, if we detect an icon prefix:

home:mdi:home
away:mdi:home-remove
unknown:mdi:home-alert

🚩 Will need to determine a good delimiter that's not normally found in an entity's state. Possibilities include: ~, ;, |.

What will it look like on the dashboard?

The state tile will display a more human-friendly state.

@qJake qJake added the enhancement New feature or request label Feb 1, 2021
@qJake qJake self-assigned this Feb 1, 2021
@qJake qJake added this to To Do in Version 1.2 Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant