diff --git a/homeassistant/components/sensor/miflora.py b/homeassistant/components/sensor/miflora.py index e917162d095..28906dfaef4 100644 --- a/homeassistant/components/sensor/miflora.py +++ b/homeassistant/components/sensor/miflora.py @@ -16,7 +16,7 @@ from homeassistant.util import Throttle from homeassistant.const import ( CONF_MONITORED_CONDITIONS, CONF_NAME, CONF_MAC) -REQUIREMENTS = ['miflora==0.1.9'] +REQUIREMENTS = ['miflora==0.1.12'] _LOGGER = logging.getLogger(__name__) @@ -41,6 +41,7 @@ SENSOR_TYPES = { 'light': ['Light intensity', 'lux'], 'moisture': ['Moisture', '%'], 'conductivity': ['Conductivity', 'µS/cm'], + 'battery': ['Battery', '%'], } PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/requirements_all.txt b/requirements_all.txt index 13b8c7bfb70..eea460ad5dc 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -275,7 +275,7 @@ messagebird==1.2.0 mficlient==0.3.0 # homeassistant.components.sensor.miflora -miflora==0.1.9 +miflora==0.1.12 # homeassistant.components.discovery netdisco==0.7.6