This plugin shows how to use the Matter history and how to create passive device in matter.js.
It create a climate sensor device with pressure temperature (min and max) and humidity that continuously changes state.
See the guidelines on Matterbridge for more information.