Configure theme for a specific Lovelace dashboard

Hello everybody,

I created several dashboards in YAML mode for mobile, tablet and computer devices, each of them should have a specific theme, as for example “iOS-dark”.

I am wondering if it is possible to assign, via YAML, a specific existing theme instead of selecting it via user-preferences which affects all user’s devices.

Any hints?

Thanks!

Yes
Either for each view

Or for the dashboard

This is great! It was clear on the documentation… thank you!

Are you sure that a theme can (still) be set for a dashboard (as opposed to a view)? I don’t see any reference to that in the article you linked, and by my own experiments, it doesn’t appear to work (anymore).