* Fixed a bug where changing fan speed was not possible

* Bump pymodbus version to 1.3.1 to fix issue #8285

* Changed all modbus components so that they use CONF_SLAVE from const.py
This commit is contained in:
Sabesto
2017-07-04 17:01:35 +02:00
committed by Fabian Affolter
parent 3363b88a73
commit 6496c38ce6
6 changed files with 6 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ import voluptuous as vol
import homeassistant.components.modbus as modbus
from homeassistant.const import (
CONF_NAME, CONF_OFFSET, CONF_UNIT_OF_MEASUREMENT)
CONF_NAME, CONF_OFFSET, CONF_UNIT_OF_MEASUREMENT, CONF_SLAVE)
from homeassistant.helpers.entity import Entity
from homeassistant.helpers import config_validation as cv
from homeassistant.components.sensor import PLATFORM_SCHEMA
@@ -25,7 +25,6 @@ CONF_PRECISION = 'precision'
CONF_REGISTER = 'register'
CONF_REGISTERS = 'registers'
CONF_SCALE = 'scale'
CONF_SLAVE = 'slave'
CONF_DATA_TYPE = 'data_type'
CONF_REGISTER_TYPE = 'register_type'