コード例 #1
0
 def send_url_service(service):
     """Service to open url on devices."""
     send_url(api_key=api_key,
              device_id=device_id,
              device_ids=device_ids,
              device_names=device_names,
              url=service.data.get('url'))
コード例 #2
0
 def send_url_service(service: ServiceCall) -> None:
     """Service to open url on devices."""
     send_url(
         api_key=api_key,
         device_id=device_id,
         device_ids=device_ids,
         device_names=device_names,
         url=service.data.get("url"),
     )
コード例 #3
0
 def send_url_service(service):
     """Service to open url on devices."""
     send_url(device_id, url=service.data.get('url'), api_key=api_key)
コード例 #4
0
ファイル: __init__.py プロジェクト: fbradyirl/home-assistant
 def send_url_service(service):
     """Service to open url on devices."""
     send_url(api_key=api_key, device_id=device_id,
              device_ids=device_ids, device_names=device_names,
              url=service.data.get('url'))