mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
bump the version and catch all exceptions to avoid showing backtraces… (#9720)
* bump the version and catch all exceptions to avoid showing backtraces but a more sane error message * catch only BTLEExceptions, fix logging strings
This commit is contained in:
parent
f4679cc870
commit
d3772d4abd
@ -17,7 +17,7 @@ from homeassistant.const import (
|
|||||||
|
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
REQUIREMENTS = ['python-eq3bt==0.1.5']
|
REQUIREMENTS = ['python-eq3bt==0.1.6']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
@ -164,4 +164,8 @@ class EQ3BTSmartThermostat(ClimateDevice):
|
|||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
"""Update the data from the thermostat."""
|
"""Update the data from the thermostat."""
|
||||||
|
from bluepy.btle import BTLEException
|
||||||
|
try:
|
||||||
self._thermostat.update()
|
self._thermostat.update()
|
||||||
|
except BTLEException as ex:
|
||||||
|
_LOGGER.warning("Updating the state failed: %s", ex)
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit b0791abb9a61216476cb3a637c410cdddef7e91c
|
Subproject commit 3092a4c08473df6b8643221e2740791fc6c8b03d
|
@ -748,7 +748,7 @@ python-digitalocean==1.12
|
|||||||
python-ecobee-api==0.0.10
|
python-ecobee-api==0.0.10
|
||||||
|
|
||||||
# homeassistant.components.climate.eq3btsmart
|
# homeassistant.components.climate.eq3btsmart
|
||||||
# python-eq3bt==0.1.5
|
# python-eq3bt==0.1.6
|
||||||
|
|
||||||
# homeassistant.components.sensor.etherscan
|
# homeassistant.components.sensor.etherscan
|
||||||
python-etherscan-api==0.0.1
|
python-etherscan-api==0.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user