Add radon device class for sensors #732
Replies: 4 comments 7 replies
-
Please try to list all the existing integrations in Home Assistant that could leverage this new device class and also potential new integrations known in the market that would benefit if integrated. |
Beta Was this translation helpful? Give feedback.
-
picocuries and becquerel are both units of measure of radiation. I think this makes more sense as a |
Beta Was this translation helpful? Give feedback.
-
I created a PR to implement this before realizing it would need a discussion in the architecture repo first. |
Beta Was this translation helpful? Give feedback.
-
I am not sure if a device class should be this specific, since radon is just one gas out of many (despite being the one that most people will be affected by/deal with). Still, should the proposal be for something like |
Beta Was this translation helpful? Give feedback.
-
Context
With the addition of the Airthings integration (https://www.home-assistant.io/integrations/airthings/) there are now devices and sensors tracking Radon levels (ie. Airthings View Plus), but Home Assistant does not currently offer a device class to handle units for these measurements.
For instance the Airthings API tracks Radon in becquerels (Bq/m³), but in the US picocuries (pCi/L) are more commonly used, and the current Home Assistant integration only supports the native unit of measurement (becquerels). This is confusing for Home Assistant users in the US (and elsewhere that are using Imperial units), as there is no easy way to change the units displayed for Radon levels of their devices.
Here are some links for additional context regarding measurement of Radon levels:
Proposal
Similar to what was done with the air quality units (ie #573), I propose adding a new
radon
device class for sensors to Home Assistant, with support for unit conversion of becquerels and picocuries based on the imperial vs metric unit setting.This would not only benefit the Airthings integration today, but also other air quality/monitoring integrations that include devices/sensors for tracking Radon levels as well.
Here is my pull request for adding the new radon device class: home-assistant/core#66149
Beta Was this translation helpful? Give feedback.
All reactions