diff --git a/custom_components/shelly/__init__.py b/custom_components/shelly/__init__.py index d11a696..24ddf1e 100755 --- a/custom_components/shelly/__init__.py +++ b/custom_components/shelly/__init__.py @@ -42,7 +42,7 @@ _LOGGER = logging.getLogger(__name__) -__version__ = "0.2.0-b5" +__version__ = "0.2.0-b6" VERSION = __version__ async def async_setup(hass, config): diff --git a/custom_components/shelly/configuration_schema.py b/custom_components/shelly/configuration_schema.py index 3e0f5d3..b3d528f 100644 --- a/custom_components/shelly/configuration_schema.py +++ b/custom_components/shelly/configuration_schema.py @@ -13,7 +13,6 @@ vol.Optional(CONF_NAME): cv.string, }) - SETTING_SCHEMA = vol.Schema({ vol.Optional(CONF_DECIMALS): cv.positive_int, vol.Optional(CONF_DIV): cv.positive_int, diff --git a/custom_components/shelly/const.py b/custom_components/shelly/const.py index 124a420..4ad9c40 100644 --- a/custom_components/shelly/const.py +++ b/custom_components/shelly/const.py @@ -70,7 +70,7 @@ 'total_returned' : {CONF_DECIMALS:2, CONF_DIV:1000, CONF_UNIT:'kWh'}, 'current' : {CONF_UNIT:'A', CONF_DECIMALS:1}, 'current_consumption' : {CONF_UNIT:'W'}, - 'voltage' : {CONF_UNIT:'V',CONF_DECIMALS:0}, + 'voltage' : {CONF_UNIT:'V', CONF_DECIMALS:0}, 'power_factor' : {CONF_DECIMALS:1}, 'uptime': {CONF_DIV:3600, CONF_UNIT:'h'}, 'rssi': {CONF_UNIT:'dB'}, diff --git a/custom_components/shelly/manifest.json b/custom_components/shelly/manifest.json index f72a049..a05cd48 100644 --- a/custom_components/shelly/manifest.json +++ b/custom_components/shelly/manifest.json @@ -5,5 +5,5 @@ "documentation": "https://github.com/StyraHem/ShellyForHASS/blob/master/README.md", "dependencies": ["zeroconf"], "codeowners": ["@hakana","@StyraHem"], - "requirements": ["pyShelly==0.2.6"] + "requirements": ["pyShelly==0.2.8"] }