Sensor - display last known value instead of 'unavailable'

Few options that pop to mind.

  1. Have an automation that posts a sensor value to an mqtt topic unless it’s unavailable / unknown. Make sure you set the retain flag on. Have a template sensor that pulls from the mqtt topic unless it’s unavailable / unknown
  2. Use the Var custom component
1 Like