How to access the "Subheader" of a Device?

Hi,

In the Devices menue, I can select a device, and it displays kind of a sub-headline (s. image).

How can I access this information for the frontend?

That is the model and manufacturer. Templates can extract it via

{{ device_attr('2ce54...', 'manufacturer') }}
{{ device_attr('2ce54...', 'model') }}

(or try model_id instead of model)

Replace first argument with your device_id

1 Like

Thanks, worked (after I figured out how to get the device_id).