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:
parent
3655fefec2
commit
a9a8cbbd10
15 changed files with 120 additions and 114 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue