1.. zephyr:code-sample:: bluetooth_bthome_sensor_template
2   :name: BTHome sensor template
3   :relevant-api: bluetooth
4
5   Implement a BTHome sensor.
6
7Overview
8********
9
10This code sample provides a template for implementing a `BTHome <https://bthome.io/>`_ sensor.
11
12Requirements
13************
14
15* A board with Bluetooth LE support
16* A BTHome compatible listener, for example `Home Assistant <https://www.home-assistant.io/>`_ with the BTHome integration running.
17
18Building and Running
19********************
20
21This sample can be found under :zephyr_file:`samples/bluetooth/bthome_sensor_template` in the Zephyr tree.
22
23See :zephyr:code-sample-category:`bluetooth` samples for details.
24
25When the sample is running, navigate to Devices & Services under settings in Home
26Assistant. There you will be asked to configure the BTHome sensor if everything
27went well.
28