I hereby claim:
- I am zen on github.
- I am tzn (https://keybase.io/tzn) on keybase.
- I have a public key ASDDwjYHkywjv0C02Sj7u_2yVLnmdorvpHhcwRo1lE07FAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import logging | |
| import voluptuous as vol | |
| # Import the device class from the component that you want to support | |
| from homeassistant.components.light import ( | |
| ATTR_BRIGHTNESS, Light, PLATFORM_SCHEMA, SUPPORT_BRIGHTNESS) | |
| from homeassistant.const import CONF_HOST | |
| import homeassistant.helpers.config_validation as cv |
| import logging | |
| import voluptuous as vol | |
| # Import the device class from the component that you want to support | |
| from homeassistant.components.light import ATTR_BRIGHTNESS, Light, PLATFORM_SCHEMA | |
| from homeassistant.const import CONF_HOST | |
| import homeassistant.helpers.config_validation as cv | |
| # Home Assistant depends on 3rd party packages for API specific code. |
| import logging | |
| import voluptuous as vol | |
| # Import the device class from the component that you want to support | |
| from homeassistant.components.light import ATTR_BRIGHTNESS, Light, PLATFORM_SCHEMA | |
| from homeassistant.const import CONF_HOST | |
| import homeassistant.helpers.config_validation as cv | |
| # Home Assistant depends on 3rd party packages for API specific code. |
| /* | |
| PMS3003 particle matter sensor library | |
| MIT License | |
| Copyright by Tomasz 'Zen' Napierala © 2016 | |
| http://github.com/zen | |
| */ | |
| #include "PMS3003.h" | |
| SoftwareSerial* pms_handle = NULL; |