Support for Xiaomi Mi Temp 2 BLE environmental sensor based in HA mitemp_bt component and mitemp library of @ratcashdev.
For install have three ways:
- Download this repository and extract to /custom_components/mitemp2_bt
- Add custom repository to HACS (Home Assistant Community Store).
- By HACS (Home Assistant Community Store) -> COMING SOON.
The config it's the samme of mitemp_bt component execpt the platform field, for example:
sensor:
- platform: mitemp2_bt
mac: 'xx:xx:xx:xx:xx:xx'
name: example
force_update: true
timeout: 60
median: 1
monitored_conditions:
- temperature
- humidity
- battery