Is there a way to hide a button or switch on the esphome web interface but not on the home assistant interface?
I’ve tried a couple things, setting the button to internal obviously hides it from both, setting it to disabled_by_default just hides it under a “show all” button in the web interface but user can still access.
Basically I’m wanting to expose the web interface on an esp board to users without giving them access to home assistant so they can independently monitor the status of sensors but not be able to press buttons or change switches.
I don’t think that use case is supported unless you replace or augment the stock CSS/JavaScript with custom stuff served from your own web server or embedded into the device.
See the css_url:, css_include:, js_url:, js_include: & possibly local: configuration variables.