Skip to content

Commit

Permalink
Construct version pinned (#13528)
Browse files Browse the repository at this point in the history
* Construct added to the requirements

* requirements_all.txt updated
  • Loading branch information
syssi authored and balloob committed Mar 30, 2018
1 parent 0428559 commit 8670102
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/climate/eq3btsmart.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
CONF_MAC, CONF_DEVICES, TEMP_CELSIUS, ATTR_TEMPERATURE, PRECISION_HALVES)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['python-eq3bt==0.1.9']
REQUIREMENTS = ['python-eq3bt==0.1.9', 'construct==2.9.41']

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/fan/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})

REQUIREMENTS = ['python-miio==0.3.9']
REQUIREMENTS = ['python-miio==0.3.9', 'construct==2.9.41']

ATTR_TEMPERATURE = 'temperature'
ATTR_HUMIDITY = 'humidity'
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/light/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
'philips.light.candle2']),
})

REQUIREMENTS = ['python-miio==0.3.9']
REQUIREMENTS = ['python-miio==0.3.9', 'construct==2.9.41']

# The light does not accept cct values < 1
CCT_MIN = 1
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/remote/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import homeassistant.helpers.config_validation as cv
from homeassistant.util.dt import utcnow

REQUIREMENTS = ['python-miio==0.3.9']
REQUIREMENTS = ['python-miio==0.3.9', 'construct==2.9.41']

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/eddystone_temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
CONF_NAME, TEMP_CELSIUS, STATE_UNKNOWN, EVENT_HOMEASSISTANT_STOP,
EVENT_HOMEASSISTANT_START)

REQUIREMENTS = ['beacontools[scan]==1.2.1']
REQUIREMENTS = ['beacontools[scan]==1.2.1', 'construct==2.9.41']

_LOGGER = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})

REQUIREMENTS = ['python-miio==0.3.9']
REQUIREMENTS = ['python-miio==0.3.9', 'construct==2.9.41']

ATTR_POWER = 'power'
ATTR_CHARGING = 'charging'
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/switch/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
'chuangmi.plug.v2']),
})

REQUIREMENTS = ['python-miio==0.3.9']
REQUIREMENTS = ['python-miio==0.3.9', 'construct==2.9.41']

ATTR_POWER = 'power'
ATTR_TEMPERATURE = 'temperature'
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/vacuum/xiaomi_miio.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_TOKEN, STATE_OFF, STATE_ON)
import homeassistant.helpers.config_validation as cv

REQUIREMENTS = ['python-miio==0.3.9']
REQUIREMENTS = ['python-miio==0.3.9', 'construct==2.9.41']

_LOGGER = logging.getLogger(__name__)

Expand Down
10 changes: 10 additions & 0 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,16 @@ colorlog==3.1.2
# homeassistant.components.binary_sensor.concord232
concord232==0.15

# homeassistant.components.climate.eq3btsmart
# homeassistant.components.fan.xiaomi_miio
# homeassistant.components.light.xiaomi_miio
# homeassistant.components.remote.xiaomi_miio
# homeassistant.components.sensor.eddystone_temperature
# homeassistant.components.sensor.xiaomi_miio
# homeassistant.components.switch.xiaomi_miio
# homeassistant.components.vacuum.xiaomi_miio
construct==2.9.41

# homeassistant.scripts.credstash
# credstash==1.14.0

Expand Down

0 comments on commit 8670102

Please sign in to comment.