Open a dashboard on mobile device from an action

Hi, I want to open a specific dashboard on my mobile app (Android) if I place mein phone/tablet in a dock.

E.g. if I place my phone on the dock in my bedroom I want to open the bedroom dashboard.

Is this possible?

There is no sensor to detect a device being docked unfortunately, those APIs were for older devices. If the device charges you can use the existing command and sensor to achieve that.