Skip to content

Commit f64bac2

Browse files
README.md - fix case in example code
1 parent e8d9e07 commit f64bac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ from bthome import BTHome
4040
beacon = BTHome("myBeacon")
4141
beacon.temperature = dht.temperature()
4242
beacon.humidity = dht.humidity()
43-
advert = beacon.pack_advertisement(bthome.TEMPERATURE_SINT16, bthome.HUMIDITY_UINT16)
43+
advert = beacon.pack_advertisement(BTHome.TEMPERATURE_SINT16, BTHome.HUMIDITY_UINT16)
4444
await aioble.advertise(BLE_ADV_INTERVAL_uS, adv_data=advert, connectable=False)
4545
```
4646

0 commit comments

Comments
 (0)