Update lilygo-glucose-display.yaml
This commit is contained in:
1 parent
88230ae011
commit
bed5d29c4d
1 file changed
+20
-13
+20
-13
@@ -49,22 +49,29 @@ wifi:
|
||||
|
||||
captive_portal:
|
||||
|
||||
i2c:
|
||||
sda: GPIO21
|
||||
scl: GPIO16
|
||||
scan: false
|
||||
# ==============================================================================
|
||||
# OPTIONAL HARDWARE: Uncomment below if you have an I2C Ambient Light Sensor (BH1750)
|
||||
# ==============================================================================
|
||||
# i2c:
|
||||
# sda: GPIO21
|
||||
# scl: GPIO16
|
||||
# scan: false
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO44
|
||||
name: "PIR Motion Sensor"
|
||||
device_class: motion
|
||||
# ==============================================================================
|
||||
# OPTIONAL HARDWARE: Uncomment below if you have a PIR Motion Sensor connected
|
||||
# ==============================================================================
|
||||
# binary_sensor:
|
||||
# - platform: gpio
|
||||
# pin: GPIO44
|
||||
# name: "PIR Motion Sensor"
|
||||
# device_class: motion
|
||||
|
||||
sensor:
|
||||
- platform: bh1750
|
||||
name: "Ambient Illuminance"
|
||||
address: 0x23
|
||||
update_interval: 5s
|
||||
# --- Optional Ambient Light Sensor ---
|
||||
# - platform: bh1750
|
||||
# name: "Ambient Illuminance"
|
||||
# address: 0x23
|
||||
# update_interval: 5s
|
||||
|
||||
- platform: homeassistant
|
||||
id: mmol
|
||||
|
||||
Reference in new issue
Block a user