1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

feat: Add ESP32 BLE enable/disable automations (#5616)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Rodrigo Martín
2023-11-06 03:54:39 +01:00
committed by GitHub
parent ff8b904097
commit d5aeb32ca6
17 changed files with 446 additions and 104 deletions

View File

@@ -104,6 +104,12 @@ binary_sensor:
on_release:
then:
- switch.turn_off: Led0
- if:
condition: ble.enabled
then:
- ble.disable:
else:
- ble.enable:
- platform: tm1638
id: Button1
@@ -273,6 +279,7 @@ output:
demo:
esp32_ble:
enable_on_boot: false
esp32_ble_server:
manufacturer: ESPHome