Added support for generic toggle on Home Assistant entities that support it. For entities that does not support toggle the feature will silently fail. This way matches how Home Assistant handles it.
Unit of measurement can be chosen to display on the entity card. Friendly name can be used instead of displayName.