How to exclude sensor from mqtt messages

Hi,

Is there a way to avoid publising sensor update and keep display it in web interface.
The ‘internal: true’ option exclude the sensor from mqtt and web.

Thank you
Nicolas

Indeed, and then you can include the internal sensors in the web_server: like this:

web_server:
  include_internal: true
4 Likes

Perfect thank you !

I know this is an old thread. This solution worked for me for the most part; sensor displays on web but doesn’t send MQTT messages.
However, the sensor is not available in the Home Assistant Dashboard. Is it possible to include it?