* Add device class CO2 to Fibaro
* Add device class CO2 to Awair
* Add device class CO2 to Tasmota
* Add device class CO2 to Netatmo
* Add device class CO2 to Ambient Station
* Update Tasmota tests
* Remove icon
* aemet: catch TypeError exceptions
format_float() and format_int() should also catch possible TypeError
exceptions.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aemet: correctly parse temperatures with a value of 0
Right now, when a temperature with a value of 0 is provided by the API, the if
condition isn't satisfied, return None instead of 0.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* aemet: group format int/float exceptions
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Transition from HVAC_MODE_OFF to HVAC_MODE_HEAT are not executed because
target temperature is kept at OFF_TEMPERATURE, turning it into a no-op.
This change ensures that we increase the target temperature to at least
the minimum temperature when transitioning to HVAC_MODE_HEAT mode.
* Include changed variables in automation trace
* Deduplicate some code
* Tweak
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Fix format
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update registries.py
Add concentration clusters recently added to zigpy
* Update measurement.py
Add concentration clusters recently added to ZigPy
* Update sensor.py
Add concentration clusters recently added to ZigPy
* Update sensor.py
remove unnecessary tabs
* Update measurement.py
remove unnecessary tabs
* Update sensor.py
Just adding CO and CO2 for now.
* Update registries.py
Just adding CO2 and CO for now.
* Update measurement.py
Just adding CO2 and CO for now
* Update sensor.py
import const CONCENTRATION_PARTS_PER_MILLION
* Update registries.py
removed trailing whitespace
* Update sensor.py
added extra blank lines and removed trailing whitespace
* Update measurement.py
added extra blank lines and removed trailing whitespace
* Update sensor.py
add device classes for CO and CO2
So far the Flo integration only supports shutoff valves. Add support for Flo leak detector pucks, which measure temperature and humidity in addition to providing leak alerts.