Homekit component cleanup (#17627)

* hass.async_add_executor_job
* Fix accessories.run -> async_track_state_change
* Fixed media_player test
* Flags are now local vars
* consistent use of " and '
This commit is contained in:
cdce8p 2018-10-20 00:14:05 +02:00 committed by GitHub
parent 3655fefec2
commit a9a8cbbd10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 120 additions and 114 deletions

View file

@ -104,7 +104,7 @@ def validate_media_player_features(state, feature_list):
error_list.append(feature)
if error_list:
_LOGGER.error("%s does not support features: %s",
_LOGGER.error('%s does not support features: %s',
state.entity_id, error_list)
return False
return True