python-broadlink
python-broadlink copied to clipboard
Add support for LIFAair air purifier
Context
I have LIFAair air purifier that talks broadlink protocol. I've added support for it. It supports controlling the fan and reading it's various sensors: temperature, humidity, co2, TVOC, PM2.5. Product link: https://lifa-air.com/products/lifa-air-la330-air-purifier
Proposed change
Implement support for it and add a simple cli script that can be used to test this device.
Type of change
- [ ] Dependency upgrade
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New device
- [ ] New product id (the device is already supported with a different id)
- [ ] New feature (which adds functionality to an existing device)
- [ ] Breaking change (fix/feature causing existing functionality to break)
- [ ] Code quality improvements to existing code or addition of tests
- [ ] Documentation
Additional information
- This PR fixes issue: fixes #
- This PR is related to:
- Link to documentation pull request:
Checklist
- [x] The code change is tested and works locally.
- [x] The code has been formatted using Black.
- [x] The code follows the Zen of Python.
- [x] I am creating the Pull Request against the correct branch.
- [x] Documentation added/updated.
Is there any reason this pull request does not get approved? Anything I should change or improve?
I have added support for this device to home assistant but this pull request is a prerequisite.