Limiting time for device activation with alexa

I have a lamp that I do not want to be able to be controlled after a certain hour. With the smart switch that controls it, I just set this up in rule machine. Is there a way to limit the hours a certain device can be turned on from alexa?

I thought about just setting it up as a virtual switch, but wonder if there is an easier way that I am missing.

Exposing a virtual to Alexa rather than the original with a rule for the original to follow the virtual with time restrictions is the only way I can think of.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.