mrk-its / homeassistant-sds011

Home-Assistant Component for SDS011 Particulate Matter Sensor
MIT License
5 stars 2 forks source link

manifest.json missing #2

Open mareklab opened 4 years ago

mareklab commented 4 years ago

@mrk-its Your code is very useful, just current versions of HA require manifest.json file to be present too, otherwise custom component is not handled correctly.

In my case I've created manifest.json file with following content:

{
  "domain": "sds011",
  "name": "SDS11 Air Quality monitor",
  "documentation": "https://github.com/mrk-its/homeassistant-sds011",
  "requirements": ["py-sds011==0.9"],
  "dependencies": [],
  "codeowners": ["@mrk-its"],
  "homeassistant": "0.90.0"
}

just I am not sure if this will work for everyone else.

rubinho101 commented 2 years ago

this updated manifest.json works for me fine:

{
"domain": "sds011",
"name": "SDS11 Air Quality monitor",
"version": "0.1",
"documentation": "https://github.com/mrk-its/homeassistant-sds011",
"requirements": ["py-sds011==0.9"],
"dependencies": [],
"codeowners": ["@mrk-its"],
"homeassistant": "2021.12.7",
"iot_class": "local_polling"
}