Hi,
Wondering if someone can help me.
I have Hassio installed on a Raspberry Pi. I have recently installed Esphome with the aim to use the Xiaomi BT sensors. (https://esphome.io/components/sensor/xiaomi_lywsdcgq.html)
This is working and I can see within the logs that the sensor is recieveing temperature, humidity & battery levels. I have done the integration within Hassio. However when I view the sensor states in developer tools the data is not there and all I see is “unkown”. This is also reflected into an display cards I create on the overview page. Am I suppose to do anything in the configuration.yaml?
This is my sensor .yaml file.
esphome:
name: esp321
platform: ESP32
board: mhetesp32devkit
wifi:
ssid: "SSID"
password: "SSID p/w"
#Optional manual IP
manual_ip:
static_ip: xxx.xxx.xxx.xxx
gateway: xxx.xxx.xxx.xxx
subnet: xxx.xxx.xxx.xxx
mqtt:
broker: 'hassio IP'
username: 'hassio user name'
password: 'password'
#Enable logging
logger:
#Enable Home Assistant API
api:
ota:
password: "ato password"
#Enable Bluetooth scanning for this ESP32
esp32_ble_tracker:
sensor:
- platform: xiaomi_lywsdcgq
mac_address: 'xx:xx:xx:xx:xx:xx'
temperature:
name: "Lounge Temperature"
humidity:
name: "Lounge Humidity"
battery_level:
name: "Lounge Battery Level"
Any ideas?