I think it would be really nice to have the sensor and switch (and maybe other) inputs allow the friend_name to be defined w/ the input. Having the definition everything in one place just makes sense to me and is cleaner than editing two files every time something is added.
Yep, agreed