Skip to content

Commit 7fb1ff7

Browse files
committed
Fixes #27
Disable BT once connected to WiFi.
1 parent 92007e5 commit 7fb1ff7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

esphome/loopon_unity.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ substitutions:
55
name: unity
66
device_name: Unity
77
device_make: LoopOn
8-
sw_version: "1.2.15"
8+
sw_version: "1.2.16"
99
bh1750_addr: "0x23" # Addr pad unsoldered=0x23 / soldered=0x5C
1010
ld2410_name: mmWave
1111

@@ -77,6 +77,11 @@ ota:
7777
wifi:
7878
fast_connect: false
7979
ap:
80+
on_connect:
81+
- delay: 5s # Gives time for improv results to be transmitted
82+
- ble.disable:
83+
on_disconnect:
84+
- ble.enable:
8085

8186
captive_portal:
8287

0 commit comments

Comments
 (0)