1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Adds CGPR1 - Qingping Motion & Ambient light sensor support (#1675)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Tom Matheussen
2021-08-10 07:06:04 +02:00
committed by GitHub
parent 93796491af
commit b92311402a
7 changed files with 212 additions and 2 deletions

View File

@@ -303,6 +303,16 @@ binary_sensor:
name: 'WX08ZM Tablet Resource'
battery_level:
name: 'WX08ZM Battery Level'
- platform: xiaomi_cgpr1
name: 'CGPR1 Motion'
mac_address: '12:34:56:12:34:56'
bindkey: '48403ebe2d385db8d0c187f81e62cb64'
battery_level:
name: 'CGPR1 battery Level'
idle_time:
name: 'CGPR1 Idle Time'
illuminance:
name: 'CGPR1 Illuminance'
esp32_ble_tracker:
on_ble_advertise: