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: Icon property #7

Open
nottledim opened this issue May 4, 2020 · 5 comments
Open

Feature request: Icon property #7

nottledim opened this issue May 4, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@nottledim
Copy link

It's be nice to be able to change the icon next to button. Thx.

@twrecked twrecked self-assigned this May 5, 2020
@twrecked
Copy link
Owner

twrecked commented May 5, 2020

To clarify, do you mean "next to; in the configuration file" or "next to; on the screen"?

You can do the second one from customize.yaml with:

switch.momentary_change_phase_to_daytime:
  icon: mdi:home

@nottledim
Copy link
Author

nottledim commented May 5, 2020 via email

@twrecked
Copy link
Owner

twrecked commented May 5, 2020

The switch doesn't support the icon option, for now you have to specify it in the customize.yaml file.

@twrecked twrecked added the enhancement New feature or request label May 5, 2020
@nottledim
Copy link
Author

nottledim commented May 5, 2020 via email

@twrecked
Copy link
Owner

twrecked commented May 6, 2020

No worries. The entity_picture attribute might work but I never tested it.

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
None yet
Development

No branches or pull requests

2 participants