Rifat Nabi
Rifat Nabi
https://developer.mozilla.org/en-US/docs/Web/API/Clipboard ```js const { clipboard, setClipboard } = useClipboard(); ``` **API** ``` useClipboard(mimeType = 'text/html'); ```
https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language ```js const language = useLanguage(); ```
While working on `useClipboard`, I realized a simple `usePaste` might be useful too. https://developer.mozilla.org/en-US/docs/Web/Events/paste ``` const content = useClipboard(dataType = 'text', root = 'document'); ```
Child lock and Filter life don't work in 2H and Pro H. They throw `Cannot read properties of undefined (reading 'value')`. ``` 20/11/2021, 19:08:09] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error...
Currently, I'm using [a fork](https://github.com/torifat/miio) of [miio](https://github.com/aholstenson/miio) where support for miot devices were added. It's really hard to add support for new devices without owning them. I found [node-mihome](https://github.com/maxinminax/node-mihome) project...
Requested by @adamrzanek in #9 