This is high on the to-do list, I actually have a full working implementation in the entity.show branch, but it has some performance problems that need to be fixed before it can go into main. That being said, I plan on it being in 1.8 on April 1st.
If you’re data doesn’t already have availability information, as a hacky workaround, you can set the entity.availability to an empty TimeIntervalCollection when you want to turn it off and back to undefined when you want to turn it on.
I’ll try to remember to update this post when it’s ready to go into 1.8.