1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

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
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