Icon for all entities in a database

I feel dumb, how do I set it up so all entities in a database automatically have a specific icon? Surely I don’t have to manually set it for each one?

You’re not dumb.
You can’t.
You do.


You can make an automation with a script to run every time entity is created. Just changed the emoji type from ‘: grinning :’:

const fibery = context.getService('fibery');

for (const entity of args.currentEntities) {
    await fibery.updateEntity(entity.type, entity.id, {
        'Icon': ':grinning:'

Having this built-in feature is similar to: Visual: Database Icons

Is this what you mean?


Thank you thank you! That’s exactly what I needed. Didn’t realize I needed a script. :pray:

1 Like