1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 07:03:55 +00:00

Introduces ble_client.ble_write Action (#3398)

This commit is contained in:
rbaron
2022-08-08 02:59:55 +02:00
committed by GitHub
parent a12c6b5f35
commit baad92515b
8 changed files with 157 additions and 4 deletions

View File

@@ -605,3 +605,13 @@ cap1188:
touch_threshold: 0x20
allow_multiple_touches: true
reset_pin: 14
switch:
- platform: template
name: "Test BLE Write Action"
turn_on_action:
- ble_client.ble_write:
id: airthings01
service_uuid: F61E3BE9-2826-A81B-970A-4D4DECFABBAE
characteristic_uuid: 6490FAFE-0734-732C-8705-91B653A081FC
value: [0x01, 0xab, 0xff]