Fix mysensors version errors

* The application of the version check in unit_of_measurement was
	messed up after the last refactor. Fix that again.
* An error could occur in device_state_attributes if there was a
	mismatch between used value_type in the device and mysensors
	version in config. Add try... except to handle that.

Bump pyvera version.

Bump pywemo version.

Add unavailable status before properly initialised for maker and insight.
This commit is contained in:
MartinHjelmare 2016-02-06 09:18:12 +01:00 committed by pavoni
parent d38ad57b7d
commit d773ad1ecb
5 changed files with 18 additions and 6 deletions

View file

@ -15,7 +15,7 @@ from homeassistant.const import (
ATTR_BATTERY_LEVEL, ATTR_TRIPPED, ATTR_ARMED, ATTR_LAST_TRIP_TIME,
TEMP_CELCIUS, TEMP_FAHRENHEIT, EVENT_HOMEASSISTANT_STOP)
REQUIREMENTS = ['pyvera==0.2.7']
REQUIREMENTS = ['pyvera==0.2.8']
_LOGGER = logging.getLogger(__name__)