Entity created in UI vs Entity created in yaml - visible?

Is there any way of hiding entities that have been created in yaml (like input_booleans) in yaml and not through using the UI using the visible switch???