h4 / LYWSD02-home-assistant

Home-Assistant sensor for LYWSD02 Thermometer
75 stars 12 forks source link

all very well. Is it possible to install 2 components? #6

Open mimmus68 opened 5 years ago

mimmus68 commented 5 years ago

I used the component and everything works very well. But I would have liked to be able to insert another LYWSD02. I tried entering

lywsd02: mac: XX: XX: XX: XX: XX: XX sensor:

but it did not work. There are solutions. THANKS

h4 commented 5 years ago

@mimmus68 This feature will be added in next release.

mimmus68 commented 5 years ago

Thanks, then I can buy other components

plantoschka commented 4 years ago

I also have two sensors. If I add lywsd02: twice in the configuration.yaml no sensor appears. One works fine.

h4 commented 4 years ago

@plantoschka I didn't have time to implement it soon, but sometimes i'll do it.

Right now you may try https://github.com/custom-components/sensor.mitemp_bt component. It supports many Xiaomi's BLE thermometers, including LYWSD02.