Google Home reports error setting mode

I have a routine in Google Home that (among other things) sets my HE hub to Night mode. Every time I run it, Google Home always says "Sorry, there was an error for the night mode". It still seems to work; the HE hub's mode is set correctly, but the error is annoying. Has anyone else encountered this error or have a solution for it?

Hello, and welcome to Hubitat! The easiest thing to do would be to use a virtual switch synced to Google Home and set Night Mode based on that switch turning on rather than setting the mode directly by Google Home.