I’d like to give a user more access to my home assistant when they are on the network locally versus remotely. An example being I want them to be able to unlock the front building lock (I live on the 4th floor, so they can’t get on my wifi network in order to unlock locally), but they don’t need access to my home lights when they are outside of the house, and I want to forego the temptation to mess with me by randomly turning on and off my smart devices when they aren’t home
Basically:
IF user is accessing HA from homeassistant.local:8123
Then show smart device cards
IF user is accessing HA from my remote URL
Then hide smart device cards
I’d also accept an automation that changes the default dashboard based on local vs remote access. (i.e. I create two dashboards, and the default changes based on how HA is accessed)
Note: I’m using browser_mod to severely limit what a user can see. I was trying to see If I could change dashboards based on a user’s local vs remote url access on browser_mod, because the UI does seem to detect which URL you are accessing it from, but I couldn’t figure it out.