-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Custom icon support #495
Custom icon support #495
Conversation
I have an honest question: What is wrong about using |
I personally don't think we should allow icons in here. As @farmio mentioned you can just use |
Okay, a lot of other integrations provide this as a native feature. I personally prefer having all information at one place. Customizing is for me like a workaround, but I see, opinions differ. |
Closed, feature shall not be a native part of the integration. |
I can have a look again when I do the new config scheme. Maybe we find a place there |
@marvin-w , this would be great. I always want to have things as logic and simple as possible for end users. And - as a lot of other integrations offer this setting as a nativ feature - it's hard to me to understand as a newbie why I have to do the setting here for integration A and there for the integration B. Regards |
We tend to see xknx as a stand-alone library for knx communication. Adding lots of HA specific string variables seems odd in this respect. Once we get to use config-flow the customization should be HAs deal again, I think, so these variables wouldn't be needed anymore. |
This pull request adds ICON support for switches, lights, covers, sensors and binary sensors. Icons can be defined directly in the native YAML code, additional customizing is no more necessary. The
icon
attribute will overwrite any icon already defined by adevice_class
.Type of change
Checklist: