# `DSMR.MBusDevice`
[🔗](https://github.com/mijnverbruik/dsmr/blob/v1.1.0/lib/dsmr/mbus_device.ex#L1)

A device connected through the meter's M-Bus interface.

DSMR telegrams commonly use M-Bus entries for gas meters, but the same shape
can represent water, heat, or other connected meters. Only `channel` is
required; the remaining fields are present when the telegram includes the
corresponding OBIS codes.

# `t`

```elixir
@type t() :: %DSMR.MBusDevice{
  channel: non_neg_integer(),
  device_type: String.t() | nil,
  equipment_id: String.t() | nil,
  last_reading_measured_at: DSMR.Timestamp.t() | nil,
  last_reading_value: DSMR.Measurement.t() | nil,
  valve_position: String.t() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
