Remove unavailable entities

Sometimes I mess up my config and I end up with loads of unavailable entities. It would be a great addition if I could ‘batch remove’ all unavailable items at once…