fix preset warning ()

pull/36155/head
Jason Hunter 2020-05-25 07:38:57 -04:00 committed by Franck Nijhof
parent 79ed8b03dc
commit ef3019f922
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
1 changed files with 1 additions and 1 deletions
homeassistant/components/onvif

View File

@ -424,7 +424,7 @@ class ONVIFDevice:
"PTZ preset '%s' does not exist on device '%s'. Available Presets: %s",
preset_val,
self.name,
profile.ptz.presets.join(", "),
", ".join(profile.ptz.presets),
)
return