I'm nearly certain that the law only allows you to medicate in your own home, outside the view of others.

As I understand it, I can't even smoke on my porch or in my garage if I am in plain view of others.

It seems difficult to translate that into your hotel room being your temporary 'home'. Although, I've always smoked pot in non-smoking hotel rooms, and I've been respectful and never had problems.

Good luck.