J. Nick Koston
d28b477f9a
Fix nuheat response error checking ( #33712 )
...
This integration was checking request instead
of response for the error code.
2020-04-05 15:23:20 -07:00
Quentame
a16e742107
Fix iCloud tests doing I/O ( #33721 )
2020-04-05 15:21:22 -07:00
Ziv
5711c0882f
Fix exception in zwave test ( #33711 )
...
would be better to not have it in there but mock has all attributes
2020-04-05 15:17:24 -07:00
Ziv
18e4493ca3
Ignore tplink tests exceptions ( #33710 )
2020-04-05 15:16:16 -07:00
springstan
60dd2213cf
Remove global variable from apcupsd ( #33717 )
...
* Remove global variable from apcupsd
* Run isort
* Address review comments
2020-04-05 23:54:37 +02:00
springstan
00e67fb2c7
Remove global variable from scsgate ( #33719 )
...
* Remove global variable from scsgate
* Import CONF_SCS_ID in light.py
* Run isort
* Remove constant ATTR_STATE
2020-04-05 23:47:11 +02:00
springstan
40ce8f8c9c
Remove global variable from arduino ( #33718 )
...
* Remove global variable from arduino
* Run isort
2020-04-05 23:27:58 +02:00
springstan
983ed8b8b4
Remove global variable from bloomsky ( #33720 )
2020-04-05 23:16:30 +02:00
springstan
b1326928df
Remove global variable from aquostv ( #33716 )
2020-04-05 23:14:37 +02:00
J. Nick Koston
171c1b20f7
Remap homekit auto to home assistant heat_cool ( #33701 )
...
Home Assistant auto mode is described as
"The device is set to a schedule, learned behavior, AI."
HomeKit Accessory Protocol expects "heating or cooling to maintain
temperature within the heating and cooling threshold of the
target temperature"
Since HomeKit is expecting to set temperatures in this mode,
mapping homekit state 3 ("Auto") to Home Assistant HVAC_MODE_HEAT_COOL
is more inline with how Home Assistant defines HVAC_MODE_HEAT_COOL
as "The device supports heating/cooling to a range"
2020-04-05 15:54:57 -05:00
Franck Nijhof
0793b5ac62
Show diff in CI and cleanup pylintrc ( #33704 )
2020-04-05 20:51:36 +02:00
Aaron Bach
c8df5fb8ad
Ensure SimpliSafe state sync when websocket falters ( #33680 )
2020-04-05 10:47:04 -06:00
Franck Nijhof
d33cf28936
Add check executables have shebangs (in pre-commit and CI) ( #33703 )
...
* Add check executables have shebangs (in pre-commit and CI)
* Fix file permissions
* Adjust Azure Pipelines
2020-04-05 18:45:43 +02:00
Franck Nijhof
f89c73d79d
Recommend python & prettier vscode extensions ( #33702 )
2020-04-05 18:19:40 +02:00
Malachi Soord
3f0936f068
Prevent last.fm errors with None ( #33446 )
2020-04-05 18:03:13 +02:00
springstan
fca90a8ddc
Improve string formatting v5 ( #33697 )
...
* Improve string formatting v5
* Address review comments
2020-04-05 17:48:55 +02:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ( #33693 )
...
* Add prettier (in pre-commit and CI)
* Make all file prettier
* Change order
* Add to Azure Pipelines
* Fix a YAML file prettier caught as invalid
* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
springstan
e3bcfb88e7
Improve string formatting v4 ( #33668 )
...
* Improve string formatting v4
* Use normal strings instead of f-strings
* Fix zeroconf test by adding back part of a condition
2020-04-05 16:01:41 +02:00
J. Nick Koston
b855177fe6
Make homekit aware of STATE_STANDBY ( #33679 )
2020-04-05 08:47:44 -05:00
J. Nick Koston
de317fb2f6
Map dry and fan only states for homekit thermostats ( #33682 )
...
Homekit only has Off/Heat/Cool/Auto at this time, but
at least we can prevent the device from erroring
by mapping dry and fan to cool so it continues
to function.
2020-04-05 08:47:32 -05:00
Franck Nijhof
f38011560f
Add pyupgrade (in pre-commit and CI) ( #33688 )
...
* Add pyupgrade (in pre-commit and CI)
* Fix leftover results of pyupgrade
* Ensure we run for Python 3.7 on pyupgrade
2020-04-05 12:49:57 +02:00
Paulus Schoutsen
5bf7e0fcc0
List dir when test fails ( #33685 )
2020-04-05 12:15:29 +02:00
Franck Nijhof
24840b54ac
Add yamllint (in pre-commit and CI) ( #33676 )
...
* Add yamllint (in pre-commit and CI)
* Fix linting for all YAML files
* Bump and add it to requirements
* Fix gen_requirements for pre-commit, remove 'v' from version
2020-04-05 10:33:45 +02:00
Franck Nijhof
7653dc947a
Enable pylint unnecessary-pass ( #33650 )
...
* Enable pylint unnecessary-pass
* Process review suggestions
* Fix smhi tests
2020-04-05 10:33:07 +02:00
J. Nick Koston
000ad256fb
Handle float values for homekit lightning ( #33683 )
...
* Handle float values for homekit lightning
* Empty commit to rerun CI
2020-04-04 23:21:44 -07:00
jjlawren
d3a4270312
Plex logging additions & cleanup ( #33681 )
2020-04-04 23:21:20 -07:00
Michal Ziemski
8d3a415d07
Add OpenERZ API integration ( #30441 )
...
* Adding OpenERZ integration
* Added unit tests
* Linter fixes, better friendly_name handling
* Increase coverage
* Review fixes
* fixup! Review fixes
* Refactor to use external openerz-api library
* fixup! Refactor to use external openerz-api library
* fixup! Refactor to use external openerz-api library
* fixup! Refactor to use external openerz-api library
* fixup! Refactor to use external openerz-api library
2020-04-05 05:04:41 +02:00
Chris Talkington
927c2314c4
use async_on_remove for IPP Update Coordinator ( #33596 )
2020-04-04 21:42:51 -05:00
Franck Nijhof
528c7f4871
Removal of extraneous parenthesis in tests ( #33670 )
...
* Removal of extraneous parenthesis
* Process review suggestions
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-05 03:50:30 +02:00
Franck Nijhof
61b4d1e8de
Small code style improvements to Insteon integration ( #33662 )
...
* Small code style improvements to Insteon integration
* Update homeassistant/components/insteon/utils.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-05 02:58:10 +02:00
Franck Nijhof
b00b8ea0c1
Use byte literals instead of encode in tests ( #33672 )
2020-04-05 02:39:44 +02:00
Franck Nijhof
59f1a1be93
Replace OSError aliases with OSError in UVC test ( #33673 )
2020-04-05 02:21:47 +02:00
Franck Nijhof
262b01d632
Removal of old style class definitions in tests ( #33671 )
2020-04-05 02:21:07 +02:00
Franck Nijhof
03dd92d51b
Use set literals in tests ( #33669 )
2020-04-05 02:20:09 +02:00
HomeAssistant Azure
d267d674b9
[ci skip] Translation update
2020-04-05 00:03:15 +00:00
springstan
c20a965eda
Improve string formatting v3 ( #33667 )
...
* Improve string formatting v3
* Address review comment
2020-04-05 01:32:58 +02:00
Phil Bruckner
bf1b408038
Handle cancellation in ServiceRegistry.async_call ( #33644 )
2020-04-04 15:36:33 -07:00
Franck Nijhof
d7e9959442
String formatting improvements for tests (2) ( #33666 )
2020-04-05 00:33:07 +02:00
Franck Nijhof
906385172a
String formatting improvements for tests ( #33663 )
2020-04-05 00:26:08 +02:00
shred86
1c25468b21
Add await to coroutines in Abode ( #33664 )
2020-04-05 00:19:59 +02:00
Ziv
c3c7b68cac
Fix unhandled exceptions in dsmr ( #33601 )
...
* reordered the clearing of the closed Event so it can stay set at the end and not
leave a task waiting on close
* fixed the side effect so it returns one TimeoutError and after that success
Previously it reached the end of the single item list and threw an exception
* fixed the error. it doesn't happen on python 3.7.5 but CI is on 3.7.0
* fixed comment
2020-04-04 14:38:20 -07:00
Paulus Schoutsen
0a3ec6fea1
Correct Hue mireds for lights ( #33597 )
2020-04-04 14:29:03 -07:00
Franck Nijhof
feed139ae7
Small code style improvements to Alexa integration ( #33660 )
2020-04-04 14:20:48 -07:00
springstan
db72039b8f
Use list literals ( #33659 )
2020-04-04 23:14:47 +02:00
springstan
dde93304d3
Improve string formatting v2 ( #33645 )
...
* Improve string formatting v2
* Improve string formatting v3
* Address review comments
2020-04-04 23:09:34 +02:00
Marcelo Moreira de Mello
d2e70eb967
Add attribution to Sense component ( #33657 )
2020-04-04 22:51:00 +02:00
Franck Nijhof
22ae498f3a
Remove redundant open modes ( #33652 )
2020-04-04 22:49:15 +02:00
springstan
fddaea797e
Use tuple literals ( #33661 )
2020-04-04 22:45:55 +02:00
springstan
0d95eff21d
Use dict literals ( #33658 )
2020-04-04 22:31:56 +02:00
springstan
541e30d155
Remove unused manifest fields v2 ( #33656 )
2020-04-04 22:11:33 +02:00