BLE Client Switch

The ble_client component is a switch platform that is used to enable and disable a ble_client. This has several uses, such as minimizing battery usage or for allowing other clients (Eg phone apps) to connect to the device.

For more information on BLE services and characteristics, see BLE Client.


  - mac_address: FF:FF:20:00:0F:15
    id: itag_black

  - platform: ble_client
    ble_client_id: itag_black
    name: "Enable iTag"

Configuration variables:

  • ble_client_id (Required, ID): ID of the associated BLE client.

  • id (Optional, ID): The ID to use for code generation, and for reference by dependent components.

  • All other options from Switch.

See Also